ConfigurationRuleGetRangeValue.max 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 numeric max bound, in Fusion internal units. Meaningful only when hasMax is true and maxExpression is empty; whenever maxExpression is non-empty that expression is the bound and this is always 0, both on a value you built and on one read from the design. A bound submitted as a number may be read back from the design in expression form, with maxExpression populated and this reading 0, so the reliable test for which form a fetched bound is in is whether maxExpression is empty, not which form the caller originally set. Setting max also sets hasMax to true and clears maxExpression back to empty, keeping the value you set; it does not reset max to 0 the way setting hasMax to false does.

Syntax

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

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

// Get the value of the property.
double propertyValue = configurationRuleGetRangeValue_var->max();

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

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

Property Value

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

Version

Introduced in version October 2026