TriadCommandInput.zRotationExpression Property

Parent Object: TriadCommandInput
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/TriadCommandInput.h>

Description

Gets or sets the expression displayed in the input field for the Z rotation. This can contain equations and references to parameters but must result in a valid distance expression. If units are not specified as part of the expression degrees are used.

Syntax

"triadCommandInput_var" is a variable referencing a TriadCommandInput object.

# Get the value of the property.
propertyValue = triadCommandInput_var.zRotationExpression

# Set the value of the property.
triadCommandInput_var.zRotationExpression = propertyValue
"triadCommandInput_var" is a variable referencing a TriadCommandInput object.
#include <Core/UserInterface/TriadCommandInput.h>

// Get the value of the property.
string propertyValue = triadCommandInput_var->zRotationExpression();

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

Property Value

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

Version

Introduced in version May 2022