CADability dotNET

The Action type exposes the following members.

Properties

  NameDescription
Public propertyActiveDrawingPlane
Returns the active drawing plane, that is the drawing plane of the active view.
Public propertyAutoCursor
true: this class takes responsibility for setting the cursor, false: the derived class manages the cursor.
Public propertyChangeTabInControlCenter
true: this class may change the selection in the control center false: this class may not change the selection in the control center
Public propertyCurrentMousePosition
Returns the current mouse position.
Public propertyFeedBack
Provides access to the "feedback" object, which is used to define visual feedback of the action. When objects in a model are modified, you will immediately see the feedback (if this model is visible in a ModelView). But sometimes you need more feedback, like arrows or imtermediate objects that change while the mousinput (or controlcenter input or some other conditions) change. Add those objects to the feedback and they will be displayed immediately.
Public propertyFrame
Returns the frame (IFrame) of the context of this action. The frame also gives access to the project.
Protected propertyIsActive
Checks, whether this action is the currently active action
Public propertyWorksOnLayoutView
Determins, wether this action can work on a LayoutView. Default implementation returns false. Override, if your Action can work on a LayoutView.

See Also