generative modeling for Rhino
Hello,
Does anyone know where i can access the conduit that grasshopper is drawing to?
Thanks
Tags:

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
Permalink Reply by Erik Thorson on March 15, 2011 at 2:24pm 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
© 2012 Created by Scott Davidson.
Powered by