algorithmic modeling for Rhino
I tried to use this python script in the python gh component and it gets the same error:
Runtime error (TypeErrorException): Parameter must be a Guid or string representing a Guid
Traceback:
line 467, in coerceguid, "C:\Users\Irina\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py"
line 532, in coercecurve, "C:\Users\Irina\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py"
line 1081, in CurveEndPoint, "C:\Users\Irina\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\curve.py"
line 5, in fractalization, "<string>"
line 27, in kochcurve, "<string>"
line 32, in script
What is wrong? Thanks.
Tags:
When using rhinoscriptsyntax functions you usually have to use Guids. You can set this manually by assigning type hints to your input parameters on the GHPython component like so:
Right-click the input parameter -> Type Hint -> Select the one called "ghdoc object".
I have attached your file with this fix. Hope that helps..
Thank you! I found this one too late:
http://www.grasshopper3d.com/forum/topics/passing-a-surface-into-py...
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
© 2024 Created by Scott Davidson. Powered by