CADability dotNET
The IFrame type exposes the following members.
Methods
Name | Description | |
---|---|---|
AssureModelView | ||
FocusChanged | ||
GetActivePropertyDisplay | ||
GetBooleanSetting | ||
GetColorSetting | ||
GetDoubleSetting | ||
GetIntSetting | ||
GetPropertyDisplay | ||
GetSetting | ||
GetStringSetting | ||
PreProcessMouseWheel | ||
RemoveActiveAction |
Removes the active action froom the action stack. Usually actions terminate themselves
by calling RemoveThisAction()()()().
| |
SetAction |
Starts the provided action. The currently active action will either be aborted or
pushed down on the action stack until the provided action terminates.
| |
SetControlCenterFocus |
Sets the focus to a given entry in a given tabpage of the controlcenter.
The names of the standard tabpgaes are:
"Action","Project","Global","View","Symbol". If resourceId is null
only the specified tabpage is selected.
| |
SetCurrentMenuId |
This method is usually only internally used. The menu id is set automatically when
the CADability menu is used.
| |
ShowPropertyDisplay |
Properties
Name | Description | |
---|---|---|
ActiveAction |
Returns the currently active action. Call GetID()()()() to find out more about
that action.
| |
ActiveView |
Returns the currently active view
| |
AllViews |
Returns an array of all views currently open in the frame
| |
CommandHandler | ||
ContextMenuSource | ||
ControlCenter | ||
CurrentMenuId |
Returns the menu id of the currently running action
| |
DesignMode | ||
DisplayArea | ||
InfoPopup | ||
Project |
Returns the project that is open in this frame
| |
SelectedObjects |
Gets or sets the selected objects. There must be no other action running when this
property is used. If there is another action running, nothing will be set and the get
property returns null
| |
SnapMode | ||
SolidModellingMode |
Events
Name | Description | |
---|---|---|
ProcessCommandEvent |
Provide a event handler if you want to be notified on command routed through this frame or to
execute command handlers for some routed commands-
| |
ProcessContextMenuEvent |
Provide a event handler if you want to be notified on contex menue commands routed through this frame or to
execute command handlers for some routed commands-
| |
ProjectClosedEvent |
Provide a event handler if you want to be notified when a project is beeing closed.
| |
ProjectOpenedEvent |
Provide a event handler if you want to be notified when a project is opened.
| |
SettingChangedEvent | ||
UpdateCommandEvent |
Provide a event handler if you want to control the appearnce of commands in the menu or toolbar
(set the enabled and check flags).
| |
UpdateContextMenuEvent |
Provide a event handler if you want to control the appearance of commands in a context the menu
(set the enabled and check flags).
| |
ViewsChangedEvent |
Provide a event handler if you want to be notified when new views are created or views are closed.
|