Table of Contents

Class InteractiveScriptContext

Namespace
Macad.Interaction
Assembly
Macad.Interaction.dll

The base class for all scripts running in an interactive environment. The script class will be derived from this and can access all members directly. This is the usual base class when running scripts in the application.

public class InteractiveScriptContext : ScriptContext
Inheritance
InteractiveScriptContext

Constructors

public InteractiveScriptContext()

Properties

public ModelController DocumentController { get; }

Controller for the document (e.g. the model), implements all functions for document management.

Property Value: ModelController

public EditorState EditorState { get; }

Holds the state of several editing functions.

Property Value: EditorState

public SelectionManager Selection { get; }

Handles workspace selection of bodies.

Property Value: SelectionManager

public WorkspaceController WorkspaceController { get; }

Controller for the workspace, implements all functions for interactive workspace management.

Property Value: WorkspaceController