Creating Rulesets in SMC

Solibri Model Checker (SMC) comes with more than 50 out-of-the-box rulesets that can check your model. However, at some point you will want to create your own custom ruleset either from scratch or by adding to, removing from, and/or modifying the parameters of an existing ruleset. This article will describe some tips on how you can speed up the process, such as by editing the Rulesets Open in SMC folder and copying existing rules from rulesets in the Rulesets Folders view into your own ruleset open for editing in the Ruleset Manager.


The easiest starting point when creating a ruleset is to edit an existing ruleset that has similar checks to what you want to run. As an example, we will edit the BIM Validation – Architectural ruleset found in the Rulesets/Architectural ruleset folder of SMC. If you have your role set to BIM Validation – Architectural, after opening an IFC, the BIM Validation – Architectural ruleset will automatically open along with two other rulesets for checking spaces and intersections:

Rulesets included in the BIM Validation - Architectural Role
Rulesets included in the BIM Validation – Architectural Role

You can now begin editing the parameters of rules contained in this ruleset from within the Checking view by right-clicking a rule and selecting Rule Parameters.


Often, you’ll want to test the ruleset as you are editing by checking a model against it. Since we are only interested in the BIM Validation – Architectural ruleset, in the Checking view, we can multi-select the other two rulesets, right-click them, and select Disable to save time by ignoring these other rulesets when running a check. You can also disable rules within the ruleset you are editing if you find some are taking a while to check. Just be sure to re-enable them before saving your ruleset so they won’t be disabled by default when you open the ruleset next time.

Disabling Rulesets
Disabling Rulesets

In the Checking view, expand BIM Validation – Architectural > Deficiency Detection > Required Components, and open its Rule Parameters to find a listing of components that should exist in the model:

Rule Parameters of Required Components Rule
Rule Parameters of Required Components Rule

We want to insert a row in the Required Components table to check that Spaces are included in the model, as well. To do this, click the Insert Row button, select Space as the type of component, and click OK.  The rule will now check to ensure Spaces exist in the model.


As the ruleset has been slightly modified, after selecting the BIM Validation – Architectural ruleset in the Checking view, the Save the Ruleset button is now enabled. At this point we could overwrite the existing out-of-the-box ruleset by clicking this button; however, as we are only experimenting, we would rather click the Save Ruleset with a New Name button to create a new ruleset.

Saving a Ruleset
Saving a Ruleset

NOTE: If you save as a new ruleset, it is not yet associated with the BIM Validation – Architectural role. To add it to the role, you can click File > Roles and click the Add Rulesets (+) button to browse to the new ruleset you created.  Don’t forget to click the Star button next to the new ruleset if you want it to open automatically as a default. You can then remove the older version of the Ruleset by selecting it and clicking Remove Rulesets (X).

TIP: Use the Checking Layout to modify Rule Parameters –
Use THE Ruleset Manager to modify Rulesets

As Spaces are an integral part of a model, rather than simply just adding the Space component to the Required Component rule, we want a separate rule in and of itself to check that spaces exist in the model. Opening the Rule Parameters from the Checking view is great for quickly making changes to a rule in terms of its parameters while running checks; however, to actually modify the ruleset, we will now use the Ruleset Manager.

In addition to modifying rule parameters, the Ruleset Manager allows you to add and remove rules and rulesets, copy rules from existing ruleset folders, rename, and modify descriptions of rules, and other tasks as well.

To open the Ruleset Manager, select File > Ruleset Manager.

TIP: Open Rulesets FOR EDITING from “Rulesets Open in SMC”

If we want to add a rule to the BIM Validation – Architectural ruleset, we could open the .cset file for editing from the Rulesets Folder view. However, when we modify the ruleset in the Workspace view, in order to have the changes reflected in the Checking view in SMC, we have to save the ruleset in the Ruleset Manager, close the existing ruleset that is currently open in the Checking view, and then reopen the ruleset we just saved.

Instead, since the ruleset we want to modify is open in the Checking view, we can open it for editing by selecting it from the Rulesets Open in SMC folder in the Ruleset Folders view. Then any changes made to the ruleset in the Ruleset Manager are instantly reflected in the Checking view of SMC and vice versa.

Opening a Ruleset Open in SMC for Editing
Opening a Ruleset Open in SMC for Editing

NOTE: You can also create a new ruleset open for editing that is open in SMC by selecting the Rulesets Open in SMC folder in the Ruleset Folders view and clicking the New Ruleset button.

Creating a New Ruleset Open in SMC
Creating a New Ruleset Open in SMC

This will create a new ruleset that is both open for editing in the Workspace view and able to be checked in the Checking view.

New Ruleset Created in the Workspace View
New Ruleset Created in the Workspace View
New Ruleset Created in the Checking View
New Ruleset Created in the Checking View

TIP: Copy Rules from Existing Rules

With the BIM Validation – Architectural ruleset open for editing, we want to add a rule to ensure spaces exist. Expanding the General Space Check ruleset, which was one of the other two rulesets that were included with the BIM Validation – Architectural role, we see the first rule listed in this other ruleset is The Model Should Have Spaces. This rule uses the same rule template as the Required Components rule, but only checks that spaces exist in a model. Rather than creating a new rule from scratch using a rule template from the Libraries view, we can simply drag the The Model Should Have Spaces rule from the General Space Check Ruleset in the Ruleset Folders view to the Deficiency Detection ruleset contained in our BIM Validation – Architectural ruleset we have open for editing in the Workspace view.

Copying Rules from Ruleset Folders to the Workspace
Copying Rules from Ruleset Folders to the Workspace

If we switch back to Solibri Model Checker and run a check, we see that the rule has been added to the ruleset and passes the check.

The Checking View After Adding a Rule
The Checking View After Adding a Rule
Creating Rulesets in SMC

7 thoughts on “Creating Rulesets in SMC

  1. Thimo says:


    I have added some new checking rules in the ruleset manager,

    my question is:
    is there a possible way to refresh the checking list?

    now i have to delete al my checking rules and add them again to work with the updated ruleset.


  2. Hello Solibri,

    How can I set the ruleset of MEP duplication without lost any color filter that I set in classification ? I already tried the color by using color map option, but it is limited to Type/System only, and will make the System in property set as a priority than Type. It would be a problem to the component that doesn’t have a system and type information in the IFC itself, in order to color the component based on desired color.

    I hope you can give an idea about this. Thanks.


    1. Hi Nizam,

      In the Results view of the checking layout, there is a drop-down selection box of the visualization options. This is set to “Automatic” by default. You can set this to “No Visualisation” and the 3D View should remain the same when selecting results regardless of what is selected in results. This allows you to make adjustments in the 3D view to your liking without the visualizations associated with rules.

      Please give the following a try:

      1. Click Show All (CTRL+SHIFT+A) in the 3D View’s menus bar.
      2. In the Classification view and select the classification that color codes components in the 3D View.
      3. In the Results view, set the Visualization drop-down from Automatic to No Visualisation in the menu bar.
      4. Double click a result in the results view and the 3D View will zoom to the components.
      5. Click the “Set to Selection Basket” button, which is the equal sign (=) in the results view. It will isolate the components involved in the result in the 3D view, while leaving whatever other visualization currently showing (your classification colors).

      – John


  3. Maria says:

    Anyone who knows how to set up crash detection solely for a certain/specific area of a smc model? Maybe by using the selection basket?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s