algorithmic modeling for Rhino
Tags:
Horster
Another workaround may be selecting objects in Rhino and then getting them from GH:
List<Rhino.DocObjects.RhinoObject> oblist =
new List<Rhino.DocObjects.RhinoObject>(
RhinoDoc.ActiveDoc.Objects.GetSelectedObjects(false, false));
... and then possibly deselect them :
if (desel) RhinoDoc.ActiveDoc.Objects.UnselectAll();
BTW, glad to hear that this limitation is going to go away in GH 2 ... :)
Hmm, I'm not sure GH2 will have space for attributes along with geometry. There are several big logical problems with this. I'll probably provide better tools to find this data, but keeping attributes associated with geometry throughout a GH file requires every single component which operates on geometry to retain attributes. That is a responsibility I do not want to inflict on component developers.
--
David Rutten
david@mcneel.com
Tirol, Austria
Hi David,
will there be in GH2 a way to easily pick objects and get their ID's ?
Workarounds like Giulio's findID components will then no more be needed.
emilio
Probably. It's easy enough to extract all kinds of data if you have a referenced piece of geometry. You can already do this for IDs now by plugging the geometry into a GUID parameter.
--
David Rutten
david@mcneel.com
Tirol, Austria
Perfect !
The GUID parameter works like a charm. :)
No need to change anything for GH2.
Thanks !
emilio
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by