Grasshopper

algorithmic modeling for Rhino

This call is not supported from within a Grasshopper component Traceback ?

Runtime error (NotSupportedException): This call is not supported from within a Grasshopper componentTraceback:  line 11, in __getlayer, "C:\Users\m.ibrahim\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\layer.py"  line 39, in AddLayer, "C:\Users\m.ibrahim\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\layer.py"  line 4, in script

 

what does it mean

Views: 486

Replies to This Discussion

Hi Mohamed,

this exception means that it is not allowed to modify Rhino layers from the Grasshopper document (which has no layers). There is an easy fix if you are only doing Rhino document manipulation. Choose:

(Right-click the component to see the menu above)

 

I'd agree with anyone saying that the name is too specific. It should say "Use the Rhino document". I'll fix it.


Also, can I ask you in the future to post GhPython questions in the scripting category?

 

Hope that helps,

- Giulio
________________
giulio@mcneel.com
McNeel Europe

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service