Clear Validation

Jiri Hietanen
Jiri Hietanen
  • Updated

The Clear Validation tool removes validation rules from the model. You can choose which kinds of rules are removed: the rules of object classes, the rules of object groups and the rules of properties. The tool removes the rules of the chosen kinds from all object classes, groups and properties at once.

Use the tool, for example, at the start of a dataflow that sets up the validation, so that the validation results come only from the rules that the dataflow sets. You can read more about validation in Validate Data – Introduction.

The rules are set with the other validation tools:

  • The Require Object Class tool sets rules that object classes must have objects or must not have objects.
  • The Require Object Group tool sets the same rules for object groups.
  • The Require Properties tool sets rules that the objects of object classes or groups must have values for properties.
  • The Set Text Property Rules tool sets rules for the values of text properties.
  • The Configure Validation tool turns validation on and off and sets the general validation settings. These settings are not rules, and Clear Validation does not change them.

To remove the rules of only some object classes, groups or properties, use the tool that set them: the Require Object Class tool or the Require Object Group tool with No Requirement, or the Require Properties tool with Is Required OFF.

After the run, the tool reports how many object class rules, object group rules and property rules it removed. When the rules are gone, the Objects palette and the Properties palette no longer show validation results for them.

If there are no rules of the chosen kinds, the tool reports zero rules and does not change the model. The same happens if all the settings are OFF.

Settings

Object Classes

If ON, the tool removes the rules that object classes must have objects or must not have objects. These rules are set with the Require Object Class tool. If OFF, these rules stay in the model. The default value is ON.

The rules that require properties of object classes are not removed with this setting. They are removed with the Properties setting.

Object Groups

If ON, the tool removes the rules that object groups must have objects or must not have objects. These rules are set with the Require Object Group tool. The rules that were set for groups that do not exist in the model are removed too. If OFF, these rules stay in the model. The default value is ON.

The rules for the properties of the objects in groups are not removed with this setting. They are removed with the Properties setting.

Properties

If ON, the tool removes the rules of properties, both in object classes and in groups:

  • the rules that require properties, set with the Require Properties tool
  • the text rules, set with the Set Text Property Rules tool
  • the rules that were set for properties that do not exist in the model

If OFF, these rules stay in the model. The default value is ON.

Release Notes

This tool was added in Simplebim 12.0 SR2

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.