DerivedParameter.textValue Property

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

Description

Gets and sets the value of the parameter when it is a text parameter. This can be determined by checking the valueType property. Setting this value will cause the current expression to be overwritten. If the parameter is not a text parameter, the value of this property should be ignored and setting will fail.

Syntax

"derivedParameter_var" is a variable referencing a DerivedParameter object.

# Get the value of the property.
propertyValue = derivedParameter_var.textValue

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

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

// Set the value of the property, where value_var is a string.
bool returnValue = derivedParameter_var->textValue(value_var);
"derivedParameter_var" is a variable referencing a DerivedParameter object.
#include <Fusion/Fusion/DerivedParameter.h>

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

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

Property Value

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

Version

Introduced in version January 2026