ThreeDModel.AddObjectToGroup(String, StringArray) Method

Top 

Description

Adds a list of 3D model objects to a previously created group.

 

This method has been Deprecated. Please use the MoveGroup() method instead

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

ThreeDModel.AddObjectToGroup(

String groupToAddTo,


StringArray objectNames)

 

 

Arguments

groupToAddTo


Description:

Name of the group to which the object(s) will be added.

 

 

objectNames


Description:

StringArray containing a list of objects to add to the specified group.

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the object was successfully added to the group, returns a 0 if unsuccessful.

 

Syntax

myVariable1 = myThreeDModel1.AddObjectToGroup(myString1, myStringArray1);

 

 

See also

ThreeDModel Object

ThreeDModel.AddObjectToGroup

Vehicle 3D Models Guide