algorithmic modeling for Rhino
Hi everyone.
I would like to ask kindly someone for creating of component that loads and explodes hatches.
I believe I can load hatches into GH using Horster Reference component (see image attached), but exploding them is impossible.
[On the other hand I'm not sure if component mentioned above loads or reads only by giving it's id].
Thanks is advance
Piotr
Tags:
This seems to work in a c# component with a GUID input named ID. Just right click the GUID component and select the hatch to reference it.
private void RunScript(Guid id, ref object A)
{
Rhino.DocObjects.ObjRef obj = new Rhino.DocObjects.ObjRef(id);
A = obj.Hatch().Explode();
}
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