generative modeling for Rhino
..how do you in Rhinocommon get an objects ID?...from a reference curve in grasshopper..is it only possible with the ID component? within grasshopper
best,
Tags:

Hi Thiru,
Once you convert the Grasshopper curve to a Rhino.Geometry.Curve that information is gone. So yes, from within a VB/C# script component you cannot find the id of a curve, you need to use the Guid parameter.
--
David Rutten
david@mcneel.com
Poprad, Slovakia

In Grasshopper everything is done with RhinoCommon and .NET.
The Guid parameter gets the real data type, namely GH_Curve. GH_Curve contains a Guid field so it knows whether it came from a Rhino curve. Once a GH_Curve goes into a Script component, it converts itself into a Rhino.Geometry.Curve and you lose the Guid.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
© 2012 Created by Scott Davidson.
Powered by