ViewOptions#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.Graphics.ViewOptions#

Bases: object

ViewOptions class.

Overview#

RescaleAnnotations

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

VectorDisplay

VectorDisplay property.

ResultPreference

ResultPreference property.

AnnotationPreferences

AnnotationPreferences property.

ShowShellThickness

Displays the thickness of shells.

ShowBeamThickness

Displays the thickness of beams.

ShowSPHExpansion

Displays the expansion for SPH elements.

ShowMesh

Display the model’s mesh.

ShowRandomColors

Sets random colors for each object of the application.

ShowVertices

Display all the vertices of the model.

ShowClusteredVertices

Displays all closely clustered vertices of the model.

ShowEdgeDirection

Displays the edge direction arrow.

ShowMeshConnection

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

ShowThickEdgeScoping

Thicken the display of edge scoping.

ModelDisplay

Sets the model display option.

ModelColoring

Sets the Model display Coloring.

ShowCoordinateSystems

Displays all coordinate system defined.

ClusteredVertexTolerance

Sets the clustered vertices custom tolerance value.

ShowLegend

Displays the legend.

ShowTriad

Displays the triad.

ShowRuler

Displays the ruler.

ShowResultVectors

Displays the result vectors.

ShowRemotePointConnections

Displays the Remote Point Connections.

DisplayGraphOverlay

Display Graph overlay in the current viewport.

Property detail#

property ViewOptions.VectorDisplay: Ansys.Mechanical.Graphics.VectorDisplay | None

VectorDisplay property.

property ViewOptions.ResultPreference: Ansys.Mechanical.Graphics.ResultPreference | None

ResultPreference property.

property ViewOptions.AnnotationPreferences: Ansys.Mechanical.Graphics.AnnotationPreferences | None

AnnotationPreferences property.

property ViewOptions.ShowShellThickness: System.Boolean | None

Displays the thickness of shells.

property ViewOptions.ShowBeamThickness: System.Boolean | None

Displays the thickness of beams.

property ViewOptions.ShowSPHExpansion: System.Boolean | None

Displays the expansion for SPH elements.

property ViewOptions.ShowMesh: System.Boolean | None

Display the model’s mesh.

property ViewOptions.ShowRandomColors: System.Boolean | None

Sets random colors for each object of the application.

property ViewOptions.ShowVertices: System.Boolean | None

Display all the vertices of the model.

property ViewOptions.ShowClusteredVertices: System.Boolean | None

Displays all closely clustered vertices of the model.

property ViewOptions.ShowEdgeDirection: System.Boolean | None

Displays the edge direction arrow.

property ViewOptions.ShowMeshConnection: System.Boolean | None

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

property ViewOptions.ShowThickEdgeScoping: System.Boolean | None

Thicken the display of edge scoping.

property ViewOptions.ModelDisplay: Ansys.Mechanical.DataModel.Enums.ModelDisplay | None

Sets the model display option.

property ViewOptions.ModelColoring: Ansys.Mechanical.DataModel.Enums.ModelColoring | None

Sets the Model display Coloring.

property ViewOptions.ShowCoordinateSystems: System.Boolean | None

Displays all coordinate system defined.

property ViewOptions.ClusteredVertexTolerance: Ansys.Core.Units.Quantity | None

Sets the clustered vertices custom tolerance value.

property ViewOptions.ShowLegend: System.Boolean | None

Displays the legend.

property ViewOptions.ShowTriad: System.Boolean | None

Displays the triad.

property ViewOptions.ShowRuler: System.Boolean | None

Displays the ruler.

property ViewOptions.ShowResultVectors: System.Boolean | None

Displays the result vectors.

property ViewOptions.ShowRemotePointConnections: System.Boolean | None

Displays the Remote Point Connections.

property ViewOptions.DisplayGraphOverlay: System.Boolean | None

Display Graph overlay in the current viewport.

Method detail#

ViewOptions.RescaleAnnotations() System.Void

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