Skip to main content

class Ansys.ACT.Common.Graphics.ModelViewManager

Bases: object

Overview

Methods

Properties

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.