Grasshopper API
GH_AttributesTPrepareForRender Method |
This method will always be called exactly once prior to Render().
This would be a good place to make sure all the necessary GUI data is up and running.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

protected virtual void PrepareForRender( GH_Canvas canvas )
Protected Overridable Sub PrepareForRender ( canvas As GH_Canvas )
Parameters
- canvas
- Type: Grasshopper.GUI.CanvasGH_Canvas
Canvas that is about to render these attributes.
