Hello,
How can I get the name of a point using RhinoCommon. I am trying to do something like this:
String name = Point.Name;
Can some one help steer me in the right direction,
Thanks for your help,
Hello,
How can I get the name of a point using RhinoCommon. I am trying to do something like this:
String name = Point.Name;
Can some one help steer me in the right direction,
Thanks for your help,
Hi qutaibah - something like this, maybe?
-Pascal
Python Code:
def test():filter = Rhino.DocObjects.ObjectType.Pointrc, X = Rhino.Input.RhinoGet.GetOneObject("Select a point object", False, filter)if not X : returnY =scriptcontext.doc.Objects.Find(X.ObjectId)Z = Y.Nameprint Z