    

 ## On this page

  

 

 # `AnnotationPreferences`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v252.Ansys.Mechanical.Graphics.AnnotationPreferences"></a>

#### *class* Ansys.Mechanical.Graphics.AnnotationPreferences

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

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

## Overview

### Methods

NameDescription[`SetElementNumbering`](#AnnotationPreferences.SetElementNumbering)Sets the begin, end and increment values to display element numbering.[`SetNodeNumbering`](#AnnotationPreferences.SetNodeNumbering)Sets the begin, end and increment values to display node numbering.### Properties

NameDescription[`PointMassSize`](#AnnotationPreferences.PointMassSize)Sets the size for point mass annotation. (Small-Large ; 1-100)[`ShowAllAnnotations`](#AnnotationPreferences.ShowAllAnnotations)Sets the visibility of all annotations.[`ShowBeams`](#AnnotationPreferences.ShowBeams)Sets the visibility of beam annotations.[`ShowBearings`](#AnnotationPreferences.ShowBearings)Sets the visibility of bearing annotations.[`ShowBodyScopings`](#AnnotationPreferences.ShowBodyScopings)Sets the visibility of body scoping annotations.[`ShowCracks`](#AnnotationPreferences.ShowCracks)Sets the visibility of crack annotations.[`ShowCustomAnnotations`](#AnnotationPreferences.ShowCustomAnnotations)Sets the visibility of user defined annotations.[`ShowElementNumbers`](#AnnotationPreferences.ShowElementNumbers)Sets the visibility of mesh element numbers in named Selection, mesh, and result displays.[`ShowForceArrows`](#AnnotationPreferences.ShowForceArrows)Sets the visibility of force arrows on surface reaction.[`ShowLabels`](#AnnotationPreferences.ShowLabels)Sets the visibility of annotation labels.[`ShowMeshAnnotations`](#AnnotationPreferences.ShowMeshAnnotations)Sets the visibility of mesh node and mesh element annotations in named selection displays.[`ShowNamedSelectionElements`](#AnnotationPreferences.ShowNamedSelectionElements)Sets the visibility of elements for all items in the named selection group.[`ShowNodeNumbers`](#AnnotationPreferences.ShowNodeNumbers)Sets the visibility of mesh node numbers in named selection, mesh, and result displays.[`ShowPointMasses`](#AnnotationPreferences.ShowPointMasses)Sets the visibility of point mass annotations.[`ShowSprings`](#AnnotationPreferences.ShowSprings)Sets the visibility of spring annotations.[`SpringSize`](#AnnotationPreferences.SpringSize)Sets the size for spring annotation. (Small-Large ; 1-100)<a id="property-detail"></a>

## Property detail

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

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

Sets the size for point mass annotation. (Small-Large ; 1-100)

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

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

Sets the visibility of all annotations.

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

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

Sets the visibility of beam annotations.

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

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

Sets the visibility of bearing annotations.

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

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

Sets the visibility of body scoping annotations.

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

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

Sets the visibility of crack annotations.

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

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

Sets the visibility of user defined annotations.

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

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

Sets the visibility of mesh element numbers in named Selection, mesh, and result displays.

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

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

Sets the visibility of force arrows on surface reaction.

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

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

Sets the visibility of annotation labels.

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

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

Sets the visibility of mesh node and mesh element annotations in named selection displays.

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

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

Sets the visibility of elements for all items in the named selection group.

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

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

Sets the visibility of mesh node numbers in named selection, mesh, and result displays.

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

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

Sets the visibility of point mass annotations.

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

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

Sets the visibility of spring annotations.

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

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

Sets the size for spring annotation. (Small-Large ; 1-100)

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

## Method detail

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

### AnnotationPreferences.SetElementNumbering(begin: [int](https://docs.python.org/3/library/functions.html#int), end: [int](https://docs.python.org/3/library/functions.html#int), inc: [int](https://docs.python.org/3/library/functions.html#int)) → [None](https://docs.python.org/3/library/constants.html#None)

Sets the begin, end and increment values to display element numbering.

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

### AnnotationPreferences.SetNodeNumbering(begin: [int](https://docs.python.org/3/library/functions.html#int), end: [int](https://docs.python.org/3/library/functions.html#int), inc: [int](https://docs.python.org/3/library/functions.html#int)) → [None](https://docs.python.org/3/library/constants.html#None)

Sets the begin, end and increment values to display node numbering.