ModelViewManager#

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

Bases: object

ModelViewManager class.

Overview#

CreateView

Create a view from current graphics with default naming.

CreateView

Create a view from current graphics with the specified name.

RenameView

Rename the model view specified by viewIndex to newLabel.

RenameView

Rename the model view specified to newLabel.

DeleteView

Delete the specified view by name.

DeleteView

Delete the specified view by index.

ApplyModelView

Apply the view specified by index.

ApplyModelView

Apply the view specified by name.

ImportModelViews

Import model views from the specified file.

ExportModelViews

Export model views to the specified file.

SetViewPorts

Set the number of viewports displayed.

SetActiveViewPort

Set the active of viewport.

SetActiveViewPort

Active a viewport.

NumberOfViews

The number of views currently defined.

ActiveViewPort

ActiveViewPort property.

Property detail#

property ModelViewManager.NumberOfViews: System.Int32 | None

The number of views currently defined.

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

ActiveViewPort property.

Method detail#

ModelViewManager.CreateView() System.Void

Create a view from current graphics with default naming.

ModelViewManager.CreateView(viewName: System.String) System.Void

Create a view from current graphics with the specified name.

ModelViewManager.RenameView(viewIndex: System.Int32, newLabel: System.String) System.Void

Rename the model view specified by viewIndex to newLabel.

ModelViewManager.RenameView(viewLabel: System.String, newLabel: System.String) System.Void

Rename the model view specified to newLabel.

ModelViewManager.DeleteView(viewLabel: System.String) System.Void

Delete the specified view by name.

ModelViewManager.DeleteView(viewIndex: System.Int32) System.Void

Delete the specified view by index.

ModelViewManager.ApplyModelView(viewIndex: System.Int32) System.Void

Apply the view specified by index.

ModelViewManager.ApplyModelView(viewLabel: System.String) System.Void

Apply the view specified by name.

ModelViewManager.ImportModelViews(viewfilepath: System.String) System.Void

Import model views from the specified file.

ModelViewManager.ExportModelViews(viewfilepath: System.String) System.Void

Export model views to the specified file.

ModelViewManager.SetViewPorts(numViewPorts: System.Int32, horizontal: System.Boolean) System.Void

Set the number of viewports displayed.

ModelViewManager.SetActiveViewPort(winRowIndex: System.Int32, winColIndex: System.Int32) System.Void

Set the active of viewport.

ModelViewManager.SetActiveViewPort(windowsId: System.Int32) System.Void

Active a viewport.