algorithmic modeling for Rhino
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
Tags:
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
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by