generative modeling for Rhino
I'm trying the GhPython node in Rhino 5 with the following simple code:
import rhinoscriptsyntax as rs
vec1 = rs.GetObject('pick a pt', 0)
vec1 = rs.VectorScale(vec1, 0.5)
However, i got the following error message in the Grasshopper Python Script Editor:
Runtime error (NotImplementedException): The method or operation is not implemented.
Traceback:
line 287, in GetObjects, "C:\Users\oat\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\selection.py"
line 3, in script
can anybody kindly advise what's wrong here?
Thanks!
Tags:
Permalink Reply by Giulio Piacentino on January 31, 2012 at 11:03am 
Permalink Reply by Grasshope on February 1, 2012 at 8:17am
Hi, Giulio, thank you very much for the clarification! I guess the GhPython node is different from the native Python Editor in Rhino 5 anyway.
Permalink Reply by Giulio Piacentino on February 1, 2012 at 9:44am Yes -- it is slightly different (mostly on the user interface and selection part). The rhinoscriptsyntax geometry methods are working in the same way.
- Giulio
_______________
giulio@mcneel.com
Added by Mgeorgio 0 Comments 0 Likes
Added by Mgeorgio 0 Comments 0 Likes
© 2013 Created by Scott Davidson.
Powered by