DerivedParameter.unit Property

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

Description

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

Syntax

"derivedParameter_var" is a variable referencing a DerivedParameter object.

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

// Get the value of the property.
string propertyValue = derivedParameter_var->unit();
"derivedParameter_var" is a variable referencing a DerivedParameter object.
#include <Fusion/Fusion/DerivedParameter.h>

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

Property Value

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

Version

Introduced in version January 2026