I can’t find a way to convert a polycurve into a guid. I want to use rs.SimplifyCurve() on a polycurve but the error says it couldn’t be converted to guid. Is it impossible to convert polylines to guids? Is there any way around this?
You cannot convert a curve to a GUID. But if you add the curve to the document, the newly added curve object will be assigned a GUID, which you can then reference from rhinoscriptsyntax.
Thank you for the help! I’ll try the Simplify. For future reference, how would I add a curve in a python script to my document, thus assigning it a GUID?