Defines the position and orientation of the manipulator. The manipulator is only visible when both the isVisible and isEnabled properties are true. If those properties are true and the setManipulator has not been called, the manipulator will be displayed in a default location (0,0,0) and direction (1,0,0). Because of that the input is typically set to be invisible and/or disabled and then enabled once enough input has been specified that you can display the manipulator in the desired location.
"distanceValueCommandInput_var" is a variable referencing a DistanceValueCommandInput object.
|
"distanceValueCommandInput_var" is a variable referencing a DistanceValueCommandInput object.
|
Type | Description |
boolean | Returns true if successful. |
Name | Type | Description |
origin | Point3D | Defines the position of the manipulator in root component space. |
direction | Vector3D | Defines the direction of the manipulator in root component space. |
Name | Description |
Command Inputs API Sample | Creates a command dialog that demonstrates all of the available command inputs. To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. You also need to unpack this zip file which contains a resource folder into the same folder where the source code file (.py or .cpp) is. |