Class ScriptContext
This is the base class for scripts. Every script class can access these members directly.
public class ScriptContext
- Inheritance
-
ScriptContext
- Derived
Constructors
public ScriptContext()
Properties
public Model Document { get; }
The model holds all bodies, and references to every entity.
- Property Value: Model
public LayerCollection Layers { get; }
The layer collection is a collection of layers defining shared attributes regarding visibility, interactivity and visualization of bodies.
- Property Value: LayerCollection
public Viewport Viewport { get; }
The viewport is the window into a workspace.
- Property Value: Viewport
public Workspace Workspace { get; }
The workspace holds all functionality for visualization and interactivity.
- Property Value: Workspace