FloatSliderCommandInput.expressionOne Property

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

Description

Uses an expression to set the value in the first input field. This can contain equations and is evaluated using the specified unit type.

Syntax

"floatSliderCommandInput_var" is a variable referencing a FloatSliderCommandInput object.

# Get the value of the property.
propertyValue = floatSliderCommandInput_var.expressionOne

# Set the value of the property.
floatSliderCommandInput_var.expressionOne = propertyValue
"floatSliderCommandInput_var" is a variable referencing a FloatSliderCommandInput object.
#include <Core/UserInterface/FloatSliderCommandInput.h>

// Get the value of the property.
string propertyValue = floatSliderCommandInput_var->expressionOne();

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

Property Value

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

Version

Introduced in version June 2015