ConfigurationRulesIssue.code Property

Parent Object: ConfigurationRulesIssue

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

Description

The code identifying the kind of problem. Stable string values include "VALIDATION_FAILED" (a get/set block did not pass semantic validation and was replaced with an empty placeholder), "RULE_NOT_FOUND" (a delete-id or itemByIds filter did not match an existing rule), "DELETE_FAILED" (a delete failed server-side), "CREATE_FAILED" (a new rule could not be created), "CONVERSION_WARNING" (read-back hit a non-fatal conversion problem). Additional codes may be returned by future server versions; treat unknown codes as opaque strings.

Syntax

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

// Get the value of the property.
string propertyValue = configurationRulesIssue_var->code();
"configurationRulesIssue_var" Is a variable referencing a ConfigurationRulesIssue Object.
// Get the value of the property.
propertyValue = configurationRulesIssue_var.code;

Property Value

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

Version

Introduced in version October 2026