WindowManager Class

class NXOpen.CAE.Xyplot.WindowManager

Bases: object

Manages the separate graphic windows.

The value of device index is greater than 0. This class is restricted to being called from a program running during an interactive NX session. If run from a non-interactive session it will return None. To obtain an instance of this class use NXOpen.CAE.Xyplot.XYPlotManager.WindowManager().

New in version NX9.0.0.

Methods

Method Description
CloseWindow Closes the window of specified device index.
GetWindows Gets the device indices of all the graphic windows.
NewWindow Creates a new window and returns the device index.

Method Detail

CloseWindow

WindowManager.CloseWindow

Closes the window of specified device index.

Signature CloseWindow(deviceIndex)

Parameters:deviceIndex (int) –

New in version NX9.0.0.

License requirements: None.

GetWindows

WindowManager.GetWindows

Gets the device indices of all the graphic windows.

Signature GetWindows()

Returns:
Return type:list of int

New in version NX9.0.0.

License requirements: None.

NewWindow

WindowManager.NewWindow

Creates a new window and returns the device index.

Signature NewWindow()

Returns:
Return type:int

New in version NX9.0.0.

License requirements: None.