    

 ## On this page

  

 

 # `IModelViewManager`

 Last update: 16.07.2025 

<a id="ansys.mechanical.stubs.v241.Ansys.ACT.Interfaces.Graphics.IModelViewManager"></a>

#### *class* Ansys.ACT.Interfaces.Graphics.IModelViewManager

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

<a id="overview"></a>

## Overview

### Methods

NameDescription[`ApplyModelView`](#IModelViewManager.ApplyModelView)Apply the view specified by index.[`CaptureModelView`](#IModelViewManager.CaptureModelView)Save the view specified by index as a PNG image to the project userfiles.[`CreateView`](#IModelViewManager.CreateView)Create a view from current graphics with default naming.[`DeleteView`](#IModelViewManager.DeleteView)Delete the specified view by index.[`ExportModelViews`](#IModelViewManager.ExportModelViews)Export model views to the specified file.[`ImportModelViews`](#IModelViewManager.ImportModelViews)Import model views from the specified file.[`RenameView`](#IModelViewManager.RenameView)Rename the model view specified by viewIndex to newLabel.### Properties

NameDescription[`NumberOfViews`](#IModelViewManager.NumberOfViews)The number of views currently defined.<a id="property-detail"></a>

## Property detail

<a id="IModelViewManager.NumberOfViews"></a>

### *property* IModelViewManager.NumberOfViews *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

The number of views currently defined.

<a id="method-detail"></a>

## Method detail

<a id="IModelViewManager.ApplyModelView"></a>

### IModelViewManager.ApplyModelView(viewIndex: [int](https://docs.python.org/3/library/functions.html#int))

Apply the view specified by index.

<a id="IModelViewManager.CaptureModelView"></a>

### IModelViewManager.CaptureModelView(index: [int](https://docs.python.org/3/library/functions.html#int), mode: [str](https://docs.python.org/3/library/stdtypes.html#str))

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

<a id="IModelViewManager.CreateView"></a>

### IModelViewManager.CreateView()

Create a view from current graphics with default naming.

<a id="IModelViewManager.DeleteView"></a>

### IModelViewManager.DeleteView(viewIndex: [int](https://docs.python.org/3/library/functions.html#int))

Delete the specified view by index.

<a id="IModelViewManager.ExportModelViews"></a>

### IModelViewManager.ExportModelViews(viewfilepath: [str](https://docs.python.org/3/library/stdtypes.html#str))

Export model views to the specified file.

<a id="IModelViewManager.ImportModelViews"></a>

### IModelViewManager.ImportModelViews(viewfilepath: [str](https://docs.python.org/3/library/stdtypes.html#str))

Import model views from the specified file.

<a id="IModelViewManager.RenameView"></a>

### IModelViewManager.RenameView(viewIndex: [int](https://docs.python.org/3/library/functions.html#int), newLabel: [str](https://docs.python.org/3/library/stdtypes.html#str))

Rename the model view specified by viewIndex to newLabel.