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

Top 

Description

Set the orientation offset with respect to the Spacecraft BCS 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.SetGroupOrientation(

String groupName,


Variable q1,


Variable q2,


Variable q3,


Variable q4)

 

 

Arguments

groupName


Description:

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

 

 

q1


Description:

The first vector element of the quaternion representing the orientation of the group.

Valid Range:

-1 ≤ q1 ≤ 1

 

 

q2


Description:

The second vector element of the quaternion representing the orientation of the group.

Valid Range:

-1 ≤ q2 ≤ 1

 

 

q3


Description:

The third vector element of the quaternion representing the orientation of the group.

Valid Range:

-1 ≤ q3 ≤ 1

 

 

q4


Description:

The scalar element of the quaternion representing the orientation of the group.

Valid Range:

-1 ≤ q4 ≤ 1

 

 

 

Return Value

Type:

number

 

 

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

 

Syntax

myVariable1 = myThreeDModel1.SetGroupOrientation(myString1, myVariable2, myVariable3, myVariable4, myVariable5);

 

 

See also

ThreeDModel Object

ThreeDModel.SetGroupOrientation

Vehicle 3D Models Guide