algorithmic modeling for Rhino
Tags:
There is no direct way to do this, you'll have to travel via the attributes:
IGH_Component owner = Attributes.GetTopLevel.DocObject as IGH_Component;
and this only works if the component and the parameters are part of a visible document, otherwise the Attributes are not guaranteed to exist.
--
David Rutten
david@mcneel.com
Seattle, WA
Thanks!
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by