ConfigurationRuleGetRangeValue.maxExpression Property

Parent Object: ConfigurationRuleGetRangeValue

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/ConfigurationRules/ConfigurationRuleGetRangeValue.h>

Description

The optional formula string for the max bound, evaluated server-side and mirroring Parameter.expression. Empty (the default) means the max bound is the literal number in max. On a value read back from the design this may be populated for a bound that was submitted as a number, carrying an expression equivalent to it. Setting a non-empty value here also sets hasMax to true and resets max to 0, so max is always 0 while an expression is the bound; setting this to empty leaves max and hasMax as they are. Setting hasMax to false, or setting max directly, resets this to empty. Empty means "no expression bound" rather than an empty expression: the bound is submitted in its numeric form instead, so unlike an empty ConfigurationRuleExpressionValue.value an empty string here is never rejected at apply time.

Syntax

"configurationRuleGetRangeValue_var" is a variable referencing a ConfigurationRuleGetRangeValue object.
# Get the value of the property.
propertyValue = configurationRuleGetRangeValue_var.maxExpression

# Set the value of the property.
configurationRuleGetRangeValue_var.maxExpression = propertyValue
"configurationRuleGetRangeValue_var" Is a variable referencing a ConfigurationRuleGetRangeValue Object.
#include <Fusion/ConfigurationRules/ConfigurationRuleGetRangeValue.h>

// Get the value of the property.
string propertyValue = configurationRuleGetRangeValue_var->maxExpression();

// Set the value of the property, where value_var is a string.
bool returnValue = configurationRuleGetRangeValue_var->maxExpression(value_var);
"configurationRuleGetRangeValue_var" Is a variable referencing a ConfigurationRuleGetRangeValue Object.
// Get the value of the property.
propertyValue = configurationRuleGetRangeValue_var.maxExpression;

// Set the value of the property.
configurationRuleGetRangeValue_var.maxExpression = propertyValue;

Property Value

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

Version

Introduced in version November 2026