TriadCommandInput.yScaleFactor 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 scale factor along the Y axis of the triad.

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.yScaleFactor

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

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

Property Value

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

Version

Introduced in version May 2022