UserParameter.expression Property

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

Description

Gets and sets the expression (i.e. "22.064 mm") used to calculate the value of the parameter

Syntax

"userParameter_var" is a variable referencing a UserParameter object.

# Get the value of the property.
propertyValue = userParameter_var.expression

# Set the value of the property.
userParameter_var.expression = propertyValue
"userParameter_var" is a variable referencing a UserParameter object.
#include <Fusion/Fusion/UserParameter.h>

// Get the value of the property.
string propertyValue = userParameter_var->expression();

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

Property Value

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

Version

Introduced in version August 2014