ConfigurationRuleSetRangeValue.create Method

Parent Object: ConfigurationRuleSetRangeValue

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/ConfigurationRuleSetRangeValue.h>

Description

Creates a SetRangeValue. All three bounds are independently optional; at least one of hasMin / hasMax / hasIncrement must be true. Presence controls which mutator inputs are shown in the UI. If both min and max are set, min ≤ max.

Syntax

This is a static method.
returnValue = adsk.fusion.ConfigurationRuleSetRangeValue.create(hasMin, min, hasMax, max, hasIncrement, increment)
This is a static method.
#include <Fusion/ConfigurationRules/ConfigurationRuleSetRangeValue.h>

returnValue = adsk::fusion::ConfigurationRuleSetRangeValue::create(hasMin, min, hasMax, max, hasIncrement, increment);
This is a static method.
returnValue = adsk.fusion.ConfigurationRuleSetRangeValue.create(hasMin, min, hasMax, max, hasIncrement, increment);

Return Value

Type Description
ConfigurationRuleSetRangeValue A new detached ConfigurationRuleSetRangeValue.

Parameters

Name Type Description
hasMin boolean True when the min bound is set.
min double The min bound, in Fusion internal units. Used only when hasMin is true.
hasMax boolean True when the max bound is set.
max double The max bound, in Fusion internal units. Used only when hasMax is true.
hasIncrement boolean True when the increment is set.
increment double The increment, in Fusion internal units. Used only when hasIncrement is true. Controls the step size between allowed values within [min, max].

Version

Introduced in version October 2026