ThreeDModel.SetGroupTransformation(String, CoordinateSystem) Method

Top 

Description

Set the total position and orientation 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.SetGroupTransformation(

String groupName,


CoordinateSystem coordinateSystem)

 

 

Arguments

groupName


Description:

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

 

 

coordinateSystem


Description:

The CoordinateSystem object that holds the transformation to be applied to the group.

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the position and orientation of the group are set successfully, returns a 0 if unsuccessful.

 

Syntax

myVariable1 = myThreeDModel1.SetGroupTransformation(myString1, myCoordinateSystem1);

 

 

See also

ThreeDModel Object

Vehicle 3D Models Guide