UserParameter.unit Property
Parent Object:
UserParameterDefined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/UserParameter.h>
Description
The unit type associated with this parameter. An empty string is returned for parameters that don't have a unit type.
Syntax
"userParameter_var" is a variable referencing a UserParameter object.
# Get the value of the property. propertyValue = userParameter_var.unit
|
"userParameter_var" is a variable referencing a UserParameter object.
#include <Fusion/Fusion/UserParameter.h>
// Get the value of the property. string propertyValue = userParameter_var->unit();
|
Property Value
This is a read only property whose value is a string.
Version
Introduced in version August 2014