ThreeDModel.SetGroupTranslation(String, Variable, Variable, Variable) 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 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.SetGroupTranslation(

String groupName,


Variable xTranslation,


Variable yTranslation,


Variable zTranslation)

 

 

Arguments

groupName


Description:

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

 

 

xTranslation


Description:

The x-element of the translational offset of the group applied in km.

Units:

km

 

 

yTranslation


Description:

The y-element of the translational offset of the group applied in km.

Units:

km

 

 

zTranslation


Description:

The z-element of the translational offset of the group applied in km.

Units:

km

 

 

 

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, myVariable2, myVariable3, myVariable4);

 

 

See also

ThreeDModel Object

ThreeDModel.SetGroupTranslation

Vehicle 3D Models Guide