ConfigurationRuleGetRangeValue.create Method

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

Creates a GetRangeValue. Both bounds are required on the wire; hasMin / hasMax = false sends a null bound (open below / above); hasMin / hasMax = true sends the corresponding numeric bound. If both bounds are set, min ≤ max.

Syntax

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

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

Return Value

Type Description
ConfigurationRuleGetRangeValue A new detached ConfigurationRuleGetRangeValue.

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.

Version

Introduced in version October 2026