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 the user if the primitive is successfully added.

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

Example

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

ReturnMessage

ID 27

Group Membership

This command belongs to the following group(s):

VO

VO Window

Version

8.0

STK Programming Interface 11.0.1