ThreeDModel.AddGroup(String, String, String, Variable) Method

Top 

Description

A group is created with the 3D model data contained in the file and added to the parent group.

 

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.AddGroup(

String parentGroupName,


String groupToCreate,


String modelFilename,


Variable format)

 

 

Arguments

parentGroupName


Description:

Name of the parent group for the group being created.

 

 

groupToCreate


Description:

Name of the group to create.

 

 

modelFilename


Description:

Filename of 3D model to add to group.

 

 

format


Description:

Forces the system to ignore the file extension and load the file as the specified format.

Valid Values:

Value

Label

0

Automatic

1

Discreet 3DS(.3ds, .prj)

2

LightWave/Modo Object(.lwo, .lxo)

3

Wavefront Object(.obj)

4

Stereolithography (STL)(.stl)

 

 

 

 

Return Value

Type:

string

 

 

Returns the full new group name.

 

Syntax

myString1 = myThreeDModel1.AddGroup(myString2, myString3, myString4, myVariable1);

 

 

See also

ThreeDModel Object

ThreeDModel.AddGroup

Vehicle 3D Models Guide