RadialMarkingMenu Object
Description
The RadialMarkingMenu object provides access to the contents of the radial marking menu (displayed when the user right clicks).
Methods
Clear |
Method that clears the all of the controls for this radial marking menu. This is equivalent to assigning Nothing to each control. When no controls are defined, the radial marking menu is not displayed. |
CreateRadialSubMenu |
Method that creates a transient RadialMarkingMenu. This object can then be assigned to any of the radial menu controls to create a sub-menu. Controls within the sub-menu can be left un-assigned to indicate the absence of those controls. |
Delete |
Method that deletes this radial marking menu. Standard Inventor radial marking menus cannot be deleted, so this method is only valid for radial marking menus where the BuiltIn property returns False. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
BuiltIn |
Read-only property that indicates if this radial marking menu is a standard Inventor marking menu or one created by an add-in. Returns True in the case where it’s an Inventor marking menu. |
ClientId |
Read-only property that returns the string that uniquely identifies the client that created this radial marking menu. This is the CLSID of the AddIn in a string form, e.g. "{C9A6C580-3817-11D0-BE4E-080036E87B02}".
If the menu is built-in, an empty string is returned. |
EastControl |
Gets and sets the command to display in the east control. |
InternalName |
Read-only property that returns the internal name of the radial marking menu. This is a unique name with respect to all other radial marking menus and can be used to access a specific radial marking menu. |
Name |
Read-write property that gets and sets the name of the radial marking menu. |
NorthControl |
Gets and sets the command to display in the north control. |
NortheastControl |
Gets and sets the command to display in the north-east control. |
NorthwestControl |
Gets and sets the command to display in the north-west control. |
SouthControl |
Gets and sets the command to display in the south control. |
SoutheastControl |
Gets and sets the command to display in the south-east control. |
SouthwestControl |
Gets and sets the command to display in the south-west control. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
WestControl |
Gets and sets the command to display in the west control. |
Accessed From
Environment.GetRadialMarkingMenu,
RadialMarkingMenu.CreateRadialSubMenu,
RadialMarkingMenus.Add,
RadialMarkingMenus.Item
Version
Introduced in version 2012