ConfigurationRuleStatusesResult.errorCount Property

Parent Object: ConfigurationRuleStatusesResult

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

Description

The number of statuses in this result with error severity. The count is scoped to the query, so getStatusesByRuleId("r1").errorCount is the error count for rule r1, and getStatusesByConfigurationId("c1").errorCount is the error count for configuration c1.

Syntax

"configurationRuleStatusesResult_var" is a variable referencing a ConfigurationRuleStatusesResult object.
# Get the value of the property.
propertyValue = configurationRuleStatusesResult_var.errorCount
"configurationRuleStatusesResult_var" Is a variable referencing a ConfigurationRuleStatusesResult Object.
#include <Fusion/ConfigurationRules/ConfigurationRuleStatusesResult.h>

// Get the value of the property.
uinteger propertyValue = configurationRuleStatusesResult_var->errorCount();
"configurationRuleStatusesResult_var" Is a variable referencing a ConfigurationRuleStatusesResult Object.
// Get the value of the property.
propertyValue = configurationRuleStatusesResult_var.errorCount;

Property Value

This is a read only property whose value is a uinteger.

Version

Introduced in version November 2026