SensorGraphics#

class ansys.stk.core.stkobjects.SensorGraphics#

Class defining the 2D Graphics properties of a Sensor.

Overview#

inherit_from_scenario

Opt whether sensor 2D graphics are to be inherited from Scenario-level settings.

enable

If not inherited from Scenario-level settings, opt whether to display sensor 2D graphics.

color

The color in which sensor graphics display.

line_style

Select the line style in which sensor 2D graphics display from the LineStyle enumeration.

line_width

Select the line width in which sensor 2D graphics display from the LineWidth enumeration.

enable_boresight_graphics_2d

Opt whether to display boresight graphics for the sensor.

boresight_color

The color in which boresight graphics display.

boresight_marker_style

The marker style used to represent the boresight graphically.

projection

Get the 2D Projection properties of the sensor.

show_fill

Opt whether to display the region covered by the sensor footprint as a filled area.

percent_translucency

Specify the percent translucency of the sensor projection. Translucency ranges from 0 to 100 percent, where 100 percent is invisible. Dimensionless.

show_graphics

Specify whether graphics attributes of the sensor are visible.

Import detail#

from ansys.stk.core.stkobjects import SensorGraphics

Property detail#

property SensorGraphics.inherit_from_scenario: bool#

Opt whether sensor 2D graphics are to be inherited from Scenario-level settings.

property SensorGraphics.enable: bool#

If not inherited from Scenario-level settings, opt whether to display sensor 2D graphics.

property SensorGraphics.color: Color#

The color in which sensor graphics display.

property SensorGraphics.line_style: LineStyle#

Select the line style in which sensor 2D graphics display from the LineStyle enumeration.

property SensorGraphics.line_width: LineWidth#

Select the line width in which sensor 2D graphics display from the LineWidth enumeration.

property SensorGraphics.enable_boresight_graphics_2d: bool#

Opt whether to display boresight graphics for the sensor.

property SensorGraphics.boresight_color: Color#

The color in which boresight graphics display.

property SensorGraphics.boresight_marker_style: str#

The marker style used to represent the boresight graphically.

property SensorGraphics.projection: SensorProjection#

Get the 2D Projection properties of the sensor.

property SensorGraphics.show_fill: bool#

Opt whether to display the region covered by the sensor footprint as a filled area.

property SensorGraphics.percent_translucency: float#

Specify the percent translucency of the sensor projection. Translucency ranges from 0 to 100 percent, where 100 percent is invisible. Dimensionless.

property SensorGraphics.show_graphics: bool#

Specify whether graphics attributes of the sensor are visible.