I have just discovered the rs.Command() method.
I was wondering what kind type of arguments could be passed to it?
Point3d seems to work?
import rhinoscriptsyntax as rs a = rs.GetPoint("take pt1") b = rs.GetPoint("take pt2") rs.Command("-Line " + str(a) + " " + str(b)+ " ") print type(a) print type(b)
But when I try passing a Guid:
import rhinoscriptsyntax as rs c1 = rs.GetObject("take curve1") c2 = rs.GetObject("take curve2") rs.Command("-Fillet "+str(c1)+" "+str(c2)+" ") print type(c1) print type(c2)
I get a message: “Unknown command: 1ded1e11-3890-4d89-9b71-998f1d28febb”. For both c1 and c2.
Why is that? rs.Command does not work with Guids?