Under certain conditions, results can be displayed as vectors, and these vectors can be modified through result vector display options.
To enable or disable result vectors, you use the command ShowResultVectors:
Graphics.ViewOptions.ShowResultVectors
Additionally, to access result vector display options, you use the command VectorDisplay:
Graphics.ViewOptions.VectorDisplay
The following properties are available for the VectorDisplay object:
Property | Description |
---|---|
LengthType | Gets or sets the result vector length type. |
DisplayType | Gets or sets the result vector display type. |
ControlDisplayDensity | Gets or sets the ability to manually control the vector display density. |
DisplayDensity | Gets or sets the vector display density in percentage. |
LengthMultiplier | Gets or sets the vector length multiplier. |
ShowTriadXAxis | Gets or sets whether to display the X axis vector of the triad/tensor. |
ShowTriadYAxis | Gets or sets whether to display the Y axis vector of the triad/tensor. |
ShowTriadZAxis | Gets or sets whether to display the Z axis vector of the triad/tensor. |
Code Examples
This code modifies the result vectors by changing the length type to proportional, setting the display type to solid, setting the display density to 30.0%, and setting the length multiplier to 4.0:
Graphics.ViewOptions.VectorDisplay.LengthType = VectorLengthType.Proportional Graphics.ViewOptions.VectorDisplay.DisplayType = VectorDisplayType.Solid Graphics.ViewOptions.VectorDisplay.ControlDisplayDensity = True Graphics.ViewOptions.VectorDisplay.DisplayDensity = 30.0 Graphics.ViewOptions.VectorDisplay.LengthMultiplier = 4.0
