IModelViewManager#

class ansys.mechanical.stubs.v242.Ansys.ACT.Interfaces.Graphics.IModelViewManager#

Bases: object

Overview#

ApplyModelView

Apply the view specified by index.

ApplyModelView

Apply the view specified by name.

CaptureModelView

Save the view specified by index as a PNG image to the project userfiles.

CaptureModelView

Save the view specified as an image to the project userfiles.

CreateView

Create a view from current graphics with default naming.

CreateView

Create a view from current graphics with the specified name.

DeleteView

Delete the specified view by index.

DeleteView

Apply the view specified 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.

RenameView

Rename the model view specified to newLabel.

NumberOfViews

The number of views currently defined.

Property detail#

property IModelViewManager.NumberOfViews: System.Int32 | None

The number of views currently defined.

Method detail#

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

Apply the view specified by index.

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

Apply the view specified by name.

IModelViewManager.CaptureModelView(index: System.Int32, mode: System.String) System.Void

Save the view specified by index as a PNG image to the project userfiles.

IModelViewManager.CaptureModelView(viewLabel: System.String, mode: System.String) System.Void

Save the view specified as an image to the project userfiles.

IModelViewManager.CreateView() System.Void

Create a view from current graphics with default naming.

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

Create a view from current graphics with the specified name.

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

Delete the specified view by index.

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

Apply the view specified by name.

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

Export model views to the specified file.

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

Import model views from the specified file.

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

Rename the model view specified by viewIndex to newLabel.

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

Rename the model view specified to newLabel.