Hi there,
I have a question regarding the difference between GetObject and GetObjects (Get multiple objects) methods.
When I use GetObject Rhino returns the following single item;
<Rhino.DocObjects.ObjRef object at 0x000000000000006C [Rhino.DocObjects.ObjRef]>
When I use GetObjects Rhino returns a list of
[<System.Guid object at 0x000000000000006D [b0926178-e9a1-4f6b-824d-1d3d144dad23]>, <System.Guid object at 0x000000000000006E [858e3957-caff-404a-94ee-12c369e7b314]>, … ]
The difference between the two items is Rhino.DocObjects.ObjRef and System.Guid.
Why does Rhino provides two different types?
The reason why I ask, because I would like to use the Rhino Common SelectionMethod that it seems works only with a single item selection - GetObject method. and the message I have got is;
Message: ‘Guid’ object has no attribute ‘SelectionMethod’
if objBaseCoerce.SelectionMethod() == Rhino.DocObjects.SelectionMethod.MousePick:
clickPoint = rs.AddPoint(objBaseCoerce.SelectionPoint())