FloatSliderCommandInput.valueOne Property

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

Description

Gets or sets the first value associated with this input. The value is always in the database units of the unit type specified. For example, if the unit type is "inch" this value is in centimeters since centimeters are the database length unit. When setting the value it is converted into a string using the unit type and displayed in the input box.

Syntax

"floatSliderCommandInput_var" is a variable referencing a FloatSliderCommandInput object.

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

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

// Get the value of the property.
double propertyValue = floatSliderCommandInput_var->valueOne();

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

Property Value

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

Version

Introduced in version June 2015