GH_ScriptInstance
Base a script instance derives from. This is the type a scripter writes, and it does nothing on its own; each scripting platform provides its own implementation with the members a script is given.
Methods
AfterRun
#public virtual void AfterRun()
Override to perform some logic after all calls to RunScript have completed.
Implements: AfterRun
BeforeRun
#public virtual void BeforeRun()
Override to perform some logic before any call to RunScript.
Implements: BeforeRun
Draw
#Override to draw into the Rhino viewports. Keep whatever is drawn here on the instance.
Parameters:
| bag (DisplayBag) | Bag to draw into. |
| token (CancellationToken) | Token cancelling the draw. |
Implements: Draw