LineTarget#

class ansys.stk.core.stkobjects.LineTarget#

Bases: ISTKObject, ILifetimeInformation, IDisplayTime

Line Target Path properties.

Overview#

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.

graphics

Return the 2D graphics properties of the line target.

graphics_3d

Return the 3D graphics properties of the line target.

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.

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.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.

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.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.