ThreeDModel.SetGroupTranslation(String, Array) Method

Top 

Description

Set the translational offset for all elements in the 3D model file that are contained within the specified group.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

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

 

Method Signature

ThreeDModel.SetGroupTranslation(

String groupName,


Array translationArray)

 

 

Arguments

groupName


Description:

Name of the group to which the translation will be applied.

 

 

translationArray


Description:

The translation offset for the group applied in km.

Required Size:

At least 3

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the translation of the group is set successfully, returns a 0 if unsuccessful.

 

Syntax

myVariable1 = myThreeDModel1.SetGroupTranslation(myString1, myArray1);

 

 

See also

ThreeDModel Object

ThreeDModel.SetGroupTranslation

Vehicle 3D Models Guide