Properties

Property Description
ButtonId Returns the identifier of the button.
ButtonName Returns the name of the button.
ButtonSensitivity Returns or sets the sensitivity of the button.
ButtonType Returns the type of the button.
ButtonTypeName Returns the type name of the button.
ToggleStatus Returns or sets the toggle status of the button.

Methods

Method Description
Dispose Frees the object from memory.

Enumerations

MenuButtonSensitivityStatus Enumeration Sensitivity Status
MenuButtonToggle Enumeration Toggle Status
MenuButtonType Enumeration Available button types

Property Detail

ButtonId

MenuButton.ButtonId

Returns the identifier of the button.

-------------------------------------

Getter Method

Signature ButtonId

Returns:The identifier used for the button
Return type:int

New in version NX6.0.0.

License requirements: None.

ButtonName

MenuButton.ButtonName

Returns the name of the button.

-------------------------------------

Getter Method

Signature ButtonName

Returns:The name of the button
Return type:str

New in version NX6.0.0.

License requirements: None.

ButtonSensitivity

MenuButton.ButtonSensitivity

Returns or sets the sensitivity of the button.

-------------------------------------

Getter Method

Signature ButtonSensitivity

Returns:The sensitivity of the button
Return type:NXOpen.MenuBar.MenuButtonSensitivityStatus

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ButtonSensitivity

Parameters:sensitivity (NXOpen.MenuBar.MenuButtonSensitivityStatus) –

New in version NX6.0.0.

License requirements: None.

ButtonType

MenuButton.ButtonType

Returns the type of the button.

-------------------------------------

Getter Method

Signature ButtonType

Returns:The type of the button
Return type:NXOpen.MenuBar.MenuButtonType

New in version NX6.0.0.

License requirements: None.

ButtonTypeName

MenuButton.ButtonTypeName

Returns the type name of the button.

-------------------------------------

Getter Method

Signature ButtonTypeName

Returns:The type name of the button
Return type:str

New in version NX6.0.0.

License requirements: None.

ToggleStatus

MenuButton.ToggleStatus

Returns or sets the toggle status of the button.

-------------------------------------

Getter Method

Signature ToggleStatus

Returns:The toggle status of the button
Return type:NXOpen.MenuBar.MenuButtonToggle

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ToggleStatus

Parameters:toggleStatus (NXOpen.MenuBar.MenuButtonToggle) –

New in version NX6.0.0.

License requirements: None.

Method Detail

Dispose

MenuButton.Dispose

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET and Java, his method is automatically called when the object is deleted by the garbage collector.

Signature Dispose()

New in version NX6.0.0.

License requirements: None.