Description | Example | Return message | Group

VO_R Primitive

Create a Primitive and return the ID of that primitive.

Syntax

VO_R <ScenarioPath> Primitive Add ID Auto Type {PrimitiveType} ({PrimitiveOption} <Value>)...

Related commands

Description

When adding a primitive, use this command to request that STK generate a unique ID for the new primitive. That ID is returned to you if the primitive is successfully added.

For valid {PrimitiveType} values, as well as {PrimitiveOptions}, see the VO Primitive command.

Examples

To create an Arc primitive and retrieve the unique id of the new primitive:

VO_R * Primitive Add ID Auto Type Arc Points 2 LL 0 0 10 0

Return message

ID 27

Group membership

This command belongs to the following group(s):

VO

VO Window

Version

8.0