IntegerSliderCommandInput.unitType Property

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

Description

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

Syntax

"integerSliderCommandInput_var" is a variable referencing an IntegerSliderCommandInput object.

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

# Set the value of the property.
integerSliderCommandInput_var.unitType = propertyValue
"integerSliderCommandInput_var" is a variable referencing an IntegerSliderCommandInput object.
#include <Core/UserInterface/IntegerSliderCommandInput.h>

// Get the value of the property.
string propertyValue = integerSliderCommandInput_var->unitType();

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

Property Value

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

Version

Introduced in version June 2015