    

 ## On this page

  

 

 # `ViewOptions`

 Last update: 16.07.2025 

<a id="ansys.mechanical.stubs.v242.Ansys.Mechanical.Graphics.ViewOptions"></a>

#### *class* Ansys.Mechanical.Graphics.ViewOptions

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

ViewOptions class.

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

## Overview

### Methods

NameDescription[`RescaleAnnotations`](#ViewOptions.RescaleAnnotations)Rescale size of annotation following a zoom in or zoom out of the model.### Properties

NameDescription[`AnnotationPreferences`](#ViewOptions.AnnotationPreferences)AnnotationPreferences property.[`ClusteredVertexTolerance`](#ViewOptions.ClusteredVertexTolerance)Sets the clustered vertices custom tolerance value.[`DisplayGraphOverlay`](#ViewOptions.DisplayGraphOverlay)Display Graph overlay in the current viewport.[`ModelColoring`](#ViewOptions.ModelColoring)Sets the Model display Coloring.[`ModelDisplay`](#ViewOptions.ModelDisplay)Sets the model display option.[`ResultPreference`](#ViewOptions.ResultPreference)ResultPreference property.[`ShowBeamThickness`](#ViewOptions.ShowBeamThickness)Displays the thickness of beams.[`ShowClusteredVertices`](#ViewOptions.ShowClusteredVertices)Displays all closely clustered vertices of the model.[`ShowCoordinateSystems`](#ViewOptions.ShowCoordinateSystems)Displays all coordinate system defined.[`ShowEdgeDirection`](#ViewOptions.ShowEdgeDirection)Displays the edge direction arrow.[`ShowLegend`](#ViewOptions.ShowLegend)Displays the legend.[`ShowMesh`](#ViewOptions.ShowMesh)Display the model’s mesh.[`ShowMeshConnection`](#ViewOptions.ShowMeshConnection)Displays edge connection using a color scheme based on the mesh connection information.[`ShowRandomColors`](#ViewOptions.ShowRandomColors)Sets random colors for each object of the application.[`ShowRemotePointConnections`](#ViewOptions.ShowRemotePointConnections)Displays the Remote Point Connections.[`ShowResultVectors`](#ViewOptions.ShowResultVectors)Displays the result vectors.[`ShowRuler`](#ViewOptions.ShowRuler)Displays the ruler.[`ShowSPHExpansion`](#ViewOptions.ShowSPHExpansion)Displays the expansion for SPH elements.[`ShowShellThickness`](#ViewOptions.ShowShellThickness)Displays the thickness of shells.[`ShowThickEdgeScoping`](#ViewOptions.ShowThickEdgeScoping)Thicken the display of edge scoping.[`ShowTriad`](#ViewOptions.ShowTriad)Displays the triad.[`ShowVertices`](#ViewOptions.ShowVertices)Display all the vertices of the model.[`VectorDisplay`](#ViewOptions.VectorDisplay)VectorDisplay property.<a id="property-detail"></a>

## Property detail

<a id="ViewOptions.AnnotationPreferences"></a>

### *property* ViewOptions.AnnotationPreferences *: [Ansys.Mechanical.Graphics.AnnotationPreferences](AnnotationPreferences.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.Graphics.AnnotationPreferences) | [None](https://docs.python.org/3/library/constants.html#None)*

AnnotationPreferences property.

<a id="ViewOptions.ClusteredVertexTolerance"></a>

### *property* ViewOptions.ClusteredVertexTolerance *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Sets the clustered vertices custom tolerance value.

<a id="ViewOptions.DisplayGraphOverlay"></a>

### *property* ViewOptions.DisplayGraphOverlay *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Display Graph overlay in the current viewport.

<a id="ViewOptions.ModelColoring"></a>

### *property* ViewOptions.ModelColoring *: [Ansys.Mechanical.DataModel.Enums.ModelColoring](../DataModel/Enums/ModelColoring.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.DataModel.Enums.ModelColoring) | [None](https://docs.python.org/3/library/constants.html#None)*

Sets the Model display Coloring.

<a id="ViewOptions.ModelDisplay"></a>

### *property* ViewOptions.ModelDisplay *: [Ansys.Mechanical.DataModel.Enums.ModelDisplay](../DataModel/Enums/ModelDisplay.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.DataModel.Enums.ModelDisplay) | [None](https://docs.python.org/3/library/constants.html#None)*

Sets the model display option.

<a id="ViewOptions.ResultPreference"></a>

### *property* ViewOptions.ResultPreference *: [Ansys.Mechanical.Graphics.ResultPreference](ResultPreference.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.Graphics.ResultPreference) | [None](https://docs.python.org/3/library/constants.html#None)*

ResultPreference property.

<a id="ViewOptions.ShowBeamThickness"></a>

### *property* ViewOptions.ShowBeamThickness *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the thickness of beams.

<a id="ViewOptions.ShowClusteredVertices"></a>

### *property* ViewOptions.ShowClusteredVertices *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays all closely clustered vertices of the model.

<a id="ViewOptions.ShowCoordinateSystems"></a>

### *property* ViewOptions.ShowCoordinateSystems *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays all coordinate system defined.

<a id="ViewOptions.ShowEdgeDirection"></a>

### *property* ViewOptions.ShowEdgeDirection *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the edge direction arrow.

<a id="ViewOptions.ShowLegend"></a>

### *property* ViewOptions.ShowLegend *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the legend.

<a id="ViewOptions.ShowMesh"></a>

### *property* ViewOptions.ShowMesh *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Display the model’s mesh.

<a id="ViewOptions.ShowMeshConnection"></a>

### *property* ViewOptions.ShowMeshConnection *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays edge connection using a color scheme based on the mesh connection information.

<a id="ViewOptions.ShowRandomColors"></a>

### *property* ViewOptions.ShowRandomColors *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Sets random colors for each object of the application.

<a id="ViewOptions.ShowRemotePointConnections"></a>

### *property* ViewOptions.ShowRemotePointConnections *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the Remote Point Connections.

<a id="ViewOptions.ShowResultVectors"></a>

### *property* ViewOptions.ShowResultVectors *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the result vectors.

<a id="ViewOptions.ShowRuler"></a>

### *property* ViewOptions.ShowRuler *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the ruler.

<a id="ViewOptions.ShowSPHExpansion"></a>

### *property* ViewOptions.ShowSPHExpansion *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the expansion for SPH elements.

<a id="ViewOptions.ShowShellThickness"></a>

### *property* ViewOptions.ShowShellThickness *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the thickness of shells.

<a id="ViewOptions.ShowThickEdgeScoping"></a>

### *property* ViewOptions.ShowThickEdgeScoping *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Thicken the display of edge scoping.

<a id="ViewOptions.ShowTriad"></a>

### *property* ViewOptions.ShowTriad *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Displays the triad.

<a id="ViewOptions.ShowVertices"></a>

### *property* ViewOptions.ShowVertices *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Display all the vertices of the model.

<a id="ViewOptions.VectorDisplay"></a>

### *property* ViewOptions.VectorDisplay *: [Ansys.Mechanical.Graphics.VectorDisplay](VectorDisplay.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.Graphics.VectorDisplay) | [None](https://docs.python.org/3/library/constants.html#None)*

VectorDisplay property.

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

## Method detail

<a id="ViewOptions.RescaleAnnotations"></a>

### ViewOptions.RescaleAnnotations()

Rescale size of annotation following a zoom in or zoom out of the model.