GH_ScriptInstance

public abstract class GH_ScriptInstance : IGH_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

#
Override to perform some logic after all calls to RunScript have completed.
public virtual void AfterRun()
AfterRun

BeforeRun

#
Override to perform some logic before any call to RunScript.
public virtual void BeforeRun()
BeforeRun

Draw

#
Override to draw into the Rhino viewports. Keep whatever is drawn here on the instance.
public virtual void Draw(
bag,
Bag to draw into.
token
Token cancelling the draw.
)
Draw