Create

Top  Previous  Next

Description


It is no longer necessary to use the Create command syntax when defining objects in FreeFlyer script - simply specify the object type and name to create an object. The Create command can be removed from any Mission Plans using FreeFlyer 6.5 or higher. The Create command is not supported in nanosecond timing precision mode, but is still allowed in millisecond precision mode for backwards compatibility.

 

 

Syntax


FreeFlyer 6.5 or higher

 

 

FreeFlyer 6.0 or earlier

 

 

 

Details


In FreeFlyer 6.5 and higher, the "Create" keyword is optional.

Any FreeFlyer object can be created using the syntax:

o<ObjectType> <ObjectName>;

In nanosecond timing precision mode, when an Array or StringArray length is not specified, the default length of 0 is used.

oIn millisecond timing precision mode, the default Array or StringArray length is 10.

"myEphemeris" and "myAttitudeHistoryFile" must be created before they are used in the creation of "mySpacecraft".

In the example "Spacecraft mySpacecraft3;", the default Propagator and ForceModel are created automatically.

See the Lists page on creating a List of any FreeFlyer object type.

You can set a custom mouse-over description for any Object using the syntax, "Spacecraft mySpacecraft;///estimated spacecraft"; the description will appear in the tooltip mouse-over.

 

 

See Also


The Spacecraft Object

Spacecraft Propagation