TriadCommandInput.yTranslationExpression 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 translation. 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, the default user units of length are used.

Syntax

"triadCommandInput_var" is a variable referencing a TriadCommandInput object.

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

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

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

Property Value

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

Version

Introduced in version May 2022