Graphics3DVector#

class ansys.stk.core.stkobjects.Graphics3DVector#

Class defining 3D vectors.

Overview#

vector_geometry_tool_components

Get a collection that manages the 3D VGT visualizations.

vector_size_scale

The size scale of the geometric elements. Dimensionless.

scale_relative_to_model

Control whether to scale the geometric elements relative to an object scale with the object’s model.

angle_size_scale

The angle size scale. Dimensionless.

Examples#

Add a Vector to display in 3D

# Satellite satellite: Satellite object
vector = satellite.graphics_3d.vector
angVel = vector.vector_geometry_tool_components.add(0, "Satellite/MySatellite AngVelocity")
angVel.show_label = True

Import detail#

from ansys.stk.core.stkobjects import Graphics3DVector

Property detail#

property Graphics3DVector.vector_geometry_tool_components: Graphics3DReferenceVectorGeometryToolComponentCollection#

Get a collection that manages the 3D VGT visualizations.

property Graphics3DVector.vector_size_scale: float#

The size scale of the geometric elements. Dimensionless.

property Graphics3DVector.scale_relative_to_model: bool#

Control whether to scale the geometric elements relative to an object scale with the object’s model.

property Graphics3DVector.angle_size_scale: float#

The angle size scale. Dimensionless.