I was trying to start coding very simple defenition via python in grasshopper to connect two simple point as a line. while I was trying to import rhinoscriptsyntax I faced with wired error related to Ironpython. I tried to copy latest version of Ironpython (2.7.7) in diffetrent folders but it didn’t work at all.
Does anyone know how to solve this problem?
Looks like you didn’t input a point to your component. This error doesn’t mean there is a problem with your IronPython.
Yes you are right Nathan. Thanks for your help.
You can add a large
if x and y:
encompassing all your code to make sure that it will always work without interruption.
Preventing error cases is also a responsibility of the good scripter & coder
for Robert McNeel & Associates
Thanks Giulio.I will mention it.