ModelParameter.unit Property

Parent Object: ModelParameter
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/ModelParameter.h>

Description

The unit type associated with this parameter. An empty string is returned for parameters that don't have a unit type.

Syntax

"modelParameter_var" is a variable referencing a ModelParameter object.

# Get the value of the property.
propertyValue = modelParameter_var.unit
"modelParameter_var" is a variable referencing a ModelParameter object.
#include <Fusion/Fusion/ModelParameter.h>

// Get the value of the property.
string propertyValue = modelParameter_var->unit();

Property Value

This is a read only property whose value is a string.

Version

Introduced in version August 2014