LineTarget#

class ansys.stk.core.stkobjects.LineTarget#

Bases: ISTKObject, ILifetimeInformation, IDisplayTime

Line Target Path properties.

Overview#

access_constraints

Return the constraints for the line target.

allow_object_access

Opt to have access to the object constrained to when it applies to the entire object,rather than any part of it.

chain_analysis_options

Get the line target’s chain analysis options.

graphics

Return the 2D graphics properties of the line target.

graphics_3d

Return the 3D graphics properties of the line target.

points

Get the points table, which displays a summary of the latitude and longitude values for each point, and indicates which point is currently defined as the anchor point.

Examples#

Create a New Line Target (on the current scenario central body)

# Scenario scenario: Scenario object
lineTarget = scenario.children.new(STKObjectType.LINE_TARGET, "MyLineTarget")
point1 = lineTarget.points.add(34.72, -118.34)
point2 = lineTarget.points.add(30.83, -82.67)

Import detail#

from ansys.stk.core.stkobjects import LineTarget

Property detail#

property LineTarget.access_constraints: AccessConstraintCollection#

Return the constraints for the line target.

property LineTarget.allow_object_access: bool#

Opt to have access to the object constrained to when it applies to the entire object,rather than any part of it.

property LineTarget.chain_analysis_options: ChainAnalysisOptions#

Get the line target’s chain analysis options.

property LineTarget.graphics: LineTargetGraphics#

Return the 2D graphics properties of the line target.

property LineTarget.graphics_3d: LineTargetGraphics3D#

Return the 3D graphics properties of the line target.

property LineTarget.points: LineTargetPointCollection#

Get the points table, which displays a summary of the latitude and longitude values for each point, and indicates which point is currently defined as the anchor point.