ContextMenuProperties Class

class NXOpen.MenuBar.ContextMenuProperties

Bases: NXOpen.TransientObject

Provides information about the MenuBar.

ContextMenu object being customized. .. versionadded:: NX8.5.0

Properties

Property Description
Context Returns a description for the context for which the menu was created
Location Returns the location where the context menu will be displayed

Methods

Method Description
Dispose Frees the object from memory.

Property Detail

Context

ContextMenuProperties.Context

Returns a description for the context for which the menu was created

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

Getter Method

Signature Context

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

Location

ContextMenuProperties.Location

Returns the location where the context menu will be displayed

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

Getter Method

Signature Location

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

Method Detail

Dispose

ContextMenuProperties.Dispose

Frees the object from memory.

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

Signature Dispose()

New in version NX8.5.0.

License requirements: None.