algorithmic modeling for Rhino
Hi Erik,
are you developing a custom component (i.e. derived from GH_Component?) or ...?
If you want to participate in viewport drawing, override the following methods on GH_Component:
IsPreviewCapable
ClippingBox
DrawViewportWires
DrawViewportMeshes
You need more info?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
ok so when i call GH_Component.DrawViewportMeshes() or Grasshopper.Kernel.Types.GH_Brep.DrawViewportMeshes() i need to have a value for GH_PreviewArgs which i cannot find a value for. Are there any default values for this assigned to the active grasshopper document?
I am using a custom component which i want to use to draw a bunch of geomery to the conduit. But i do not want to have this geometry as an output to the component. I have also found GH_PreviewUtil() but i need to draw shaded meshes rather than wireframe.
Thank you
Erik
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