This 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/ConfigurationRulesManager.h>
Description
Returns the statuses belonging to the specified configuration, with error, warning and information counts scoped to that configuration. A configuration with no errors for a rule had that rule applied to it.
The result also carries every status that names no configuration at all — a rule with an unfilled socket is a problem for this configuration too — so a result may contain entries whose configurationId is empty rather than the requested id.
Returns null when configurationId does not match a row on the design's top configuration table.
Like getStatuses, this is a point-in-time snapshot and does not trigger a rules run. Throws if configurationId is empty.
A ConfigurationRuleStatusesResult holding the configuration's statuses and their counts, or null when configurationId does not match a row on the design's top configuration table. A non-null result with an empty statuses array is the success case.
Parameters
Name
Type
Description
configurationId
string
The id of the configuration whose statuses to return. This is a ConfigurationRow.id value from the design's top configuration table. Must not be empty.