VehicleGraphics3DDropLinePathItemCollection#

class ansys.stk.core.stkobjects.VehicleGraphics3DDropLinePathItemCollection#

Collection of drop lines from the vehicle’s orbit or trajectory.

Overview#

item

Given an index, returns an element in the collection.

count

Return the number of elements in a collection.

_new_enum

Return an enumerator that can iterate through the collection.

Examples#

Display drop lines in 3D Window

# Satellite satellite: Satellite object
orbitDroplines = satellite.graphics_3d.drop_lines.orbit
wgs84 = orbitDroplines.item(0)  # Droplines to WGS84 surface
wgs84.show_graphics = True
wgs84.line_width = LineWidth.WIDTH2
wgs84.use_2d_color = False
wgs84.color = Colors.Red

Import detail#

from ansys.stk.core.stkobjects import VehicleGraphics3DDropLinePathItemCollection

Property detail#

property VehicleGraphics3DDropLinePathItemCollection.count: int#

Return the number of elements in a collection.

property VehicleGraphics3DDropLinePathItemCollection._new_enum: EnumeratorProxy#

Return an enumerator that can iterate through the collection.

Method detail#

VehicleGraphics3DDropLinePathItemCollection.item(self, index: int) VehicleGraphics3DDropLinePathItem#

Given an index, returns an element in the collection.

Parameters:

index : int

Returns:

VehicleGraphics3DDropLinePathItem