FloatSliderCommandInput.unitType Property

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

Description

Gets and sets the unit type that is used when evaluating the user's input.

Syntax

"floatSliderCommandInput_var" is a variable referencing a FloatSliderCommandInput object.

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

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

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

Property Value

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

Version

Introduced in version June 2015