CustomWebAppMenuHandler Class

class NXOpen.PDM.CustomWebAppMenuHandler

Bases: NXOpen.TransientObject

Represents Custom WebApp Menu Handler class

New in version NX11.0.0.

Methods

Method Description
Dispose Frees the object from memory.
GetCommandName Returns the command name
GetSelectedUids Returns the unique identifier of the uids in PDM
RegisterCustomWebAppInvokedCallback Registers the add_custom_web_app_menu_callback callback method with the webApp menu handler object.

Method Detail

Dispose

CustomWebAppMenuHandler.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 NX11.0.0.

License requirements: None.

GetCommandName

CustomWebAppMenuHandler.GetCommandName

Returns the command name

Signature GetCommandName()

Returns:the command name
Return type:str

New in version NX11.0.0.

License requirements: None.

GetSelectedUids

CustomWebAppMenuHandler.GetSelectedUids

Returns the unique identifier of the uids in PDM

Signature GetSelectedUids()

Returns:Selected uids
Return type:list of str

New in version NX11.0.0.

License requirements: None.

RegisterCustomWebAppInvokedCallback

CustomWebAppMenuHandler.RegisterCustomWebAppInvokedCallback

Registers the add_custom_web_app_menu_callback callback method with the webApp menu handler object.

Signature RegisterCustomWebAppInvokedCallback(webappCb)

Parameters:webappCb (CallableObject) –

New in version NX11.0.0.

License requirements: None.