TriadCommandInput.yRotation Property
Parent Object:
TriadCommandInputDefined in namespace "adsk::core" and the header file is <Core/UserInterface/TriadCommandInput.h>
Description
Gets and sets the current value of the rotation around the Y axis of the triad. The value is in radians but will be displayed to the user in degrees.
The isValidExpressions property should be checked before using the value within the command.
Syntax
"triadCommandInput_var" is a variable referencing a TriadCommandInput object.
# Get the value of the property. propertyValue = triadCommandInput_var.yRotation
# Set the value of the property. triadCommandInput_var.yRotation = propertyValue
|
"triadCommandInput_var" is a variable referencing a TriadCommandInput object.
#include <Core/UserInterface/TriadCommandInput.h>
// Get the value of the property. double propertyValue = triadCommandInput_var->yRotation();
// Set the value of the property, where value_var is a double. bool returnValue = triadCommandInput_var->yRotation(value_var);
|
Property Value
This is a read/write property whose value is a double.
Version
Introduced in version May 2022