ModelViewManager#

class ansys.mechanical.stubs.v242.Ansys.ACT.Common.Graphics.ModelViewManager#

Bases: object

ModelViewManager class.

Overview#

ApplyModelView

Apply the view specified by index.

CreateView

Create a view from current graphics with default naming.

DeleteView

Delete the specified view by name.

ExportModelViews

Export model views to the specified file.

ImportModelViews

Import model views from the specified file.

RenameView

Rename the model view specified by viewIndex to newLabel.

SetActiveViewPort

Set the active of viewport.

SetViewPorts

Set the number of viewports displayed.

ActiveViewPort

ActiveViewPort property.

NumberOfViews

The number of views currently defined.

Property detail#

property ModelViewManager.ActiveViewPort: Ansys.ACT.Common.Graphics.MechanicalViewPort | None#

ActiveViewPort property.

property ModelViewManager.NumberOfViews: int | None#

The number of views currently defined.

Method detail#

ModelViewManager.ApplyModelView(viewIndex: int) None#

Apply the view specified by index.

ModelViewManager.CreateView() None#

Create a view from current graphics with default naming.

ModelViewManager.DeleteView(viewLabel: str) None#

Delete the specified view by name.

ModelViewManager.ExportModelViews(viewfilepath: str) None#

Export model views to the specified file.

ModelViewManager.ImportModelViews(viewfilepath: str) None#

Import model views from the specified file.

ModelViewManager.RenameView(viewIndex: int, newLabel: str) None#

Rename the model view specified by viewIndex to newLabel.

ModelViewManager.SetActiveViewPort(winRowIndex: int, winColIndex: int) None#

Set the active of viewport.

ModelViewManager.SetViewPorts(numViewPorts: int, horizontal: bool) None#

Set the number of viewports displayed.