ModelViewManager#
- class ansys.mechanical.stubs.v261.Ansys.ACT.Common.Graphics.ModelViewManager(wrapper: Ansys.ACT.Common.Graphics.MechanicalGraphicsWrapper, graphics: Ansys.Common.Interop.Gfx.IDSGraphics)#
Bases:
object
Overview#
Apply the view specified by index. |
|
Exports the active object to a 3d AVZ file. |
|
Save the view specified by index as an image to the project userfiles. |
|
Save the object specified as an image. The image have the same name as the object. |
|
Create a view from current graphics with default naming. |
|
Delete the specified view by name. |
|
Equals method. |
|
Export model views to the specified file. |
|
GetHashCode method. |
|
GetType method. |
|
Returns the width and height of the specified viewport. |
|
Get the viewport display style. |
|
Import model views from the specified file. |
|
Rename the model view specified by viewIndex to newLabel. |
|
Rotate the current ModelView. |
|
Set the active of viewport. |
|
Change to Back view. |
|
Change to Bottom view. |
|
Change to Fit view. |
|
Change to Front view. |
|
Change to ISO view. |
|
Change to Left view. |
|
Change to Right view. |
|
Change to Top view. |
|
Set the number of viewports displayed. |
|
ToString method. |
ActiveViewPort property. |
|
The number of views currently defined. |
Property detail#
Method detail#
- ModelViewManager.CaptureModelView(index: int, mode: str) None#
Save the view specified by index as an image to the project userfiles.
- ModelViewManager.CaptureObjectImage(obj: Ansys.ACT.Automation.Mechanical.DataModelObject, mode: str, folder: str) None#
Save the object specified as an image. The image have the same name as the object.
- ModelViewManager.ExportModelViews(viewfilepath: str) None#
Export model views to the specified file.
- ModelViewManager.GetViewPortSize(viewportIndex: int) tuple[int, int]#
Returns the width and height of the specified viewport.
- ModelViewManager.GetViewPorts() Ansys.Mechanical.DataModel.Enums.ViewportLayoutStyle#
Get the viewport display style.
- 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.