Description
Sets the tail length of multiple objects at the same time.
Use caution in setting tail lengths longer than 10,000 - 30,000 points. Tail lengths exceeding this range can cause memory problems due to the large amount of relative position data that must be maintained. The maximum tail length that can be used safely depends on the amount of memory in the system and the number of objects managed by the Mission View.
Timing Precision Mode
This page describes functionality in nanosecond timing precision mode.
Click here to see the documentation for this object in millisecond timing precision mode.
Method Signature
Arguments
setType
|
|
Description:
|
The method used to determine which objects to change tail length.
|
Valid Values:
|
Value
|
Label
|
0
|
Set by Object Type (Case-Sensitive)
|
1
|
Set by Group Name (Case-Sensitive)
|
|
typeOrGroupName
|
|
Description:
|
The object type or group name used to set the change tail length of multiple objects.
|
tailLength
|
|
Description:
|
The tail length to use for the object.
|
Valid Range:
|
tailLength ≥ 0
|
Syntax
myViewWindow1.SetTailLength(myVariable1, myString1, myVariable2);
|
This example shows how to set the tail length for all Spacecraft in a MissionPlan
// Create Objects
Spacecraft sc1;
Spacecraft sc2;
Spacecraft sc3;
ViewWindow vw;
// Add Spacecraft to ViewWindow
vw.AddObject(sc1);
vw.AddObject(sc2);
vw.AddObject(sc3);
// Set the tail length of ALL the Spacecraft in the ViewWindow
vw.SetTailLength(0, TypeOf(Spacecraft), 10);
|
|
See also
ViewWindow Object
ViewWindow.SetTailLength
ViewWindow Guide
|