TriadCommandInput.yRotationExpression 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 Y 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.yRotationExpression

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

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

Property Value

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

Version

Introduced in version May 2022