Hi all, I’m urgently trying to debug this script that was passed to me, I keep encountering these errors:
Message: Parameter must be a Guid or string representing a Guid
Traceback:
line 890, in coerceguid, “C:\Users…\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py”
line 1062, in coercerhinoobject, “C:\Users…\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py”
line 901, in ObjectLayer, “C:\Users…\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\object.py”
line 623, in , “…\Question01_PY.py”
Does anyone have any ideas why and how I can fix it?
You could simplify your code and possibly speed it up by using the vector math operations provided in the RhinoScriptSyntax and/or RhinoCommon libraries instead of the custom class in your script.