TriadCommandInput.zRotation Property

Parent Object: TriadCommandInput
Defined 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 Z 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.zRotation

# Set the value of the property.
triadCommandInput_var.zRotation = 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->zRotation();

// Set the value of the property, where value_var is a double.
bool returnValue = triadCommandInput_var->zRotation(value_var);

Property Value

This is a read/write property whose value is a double.

Version

Introduced in version May 2022