ModelViewManager
#
- class ansys.mechanical.stubs.v241.Ansys.ACT.Common.Graphics.ModelViewManager#
Bases:
object
ModelViewManager class.
Overview#
|
Create a view from current graphics with default naming. |
|
Create a view from current graphics with the specified name. |
|
Rename the model view specified by viewIndex to newLabel. |
|
Rename the model view specified to newLabel. |
|
Delete the specified view by name. |
|
Delete the specified view by index. |
|
Apply the view specified by index. |
|
Apply the view specified by name. |
|
Import model views from the specified file. |
|
Export model views to the specified file. |
|
Set the number of viewports displayed. |
|
Set the active of viewport. |
|
Active a viewport. |
|
The number of views currently defined. |
|
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.