Customizing the Revit Model Checker from CADD Microsystems can be a fairly easy process, once you find the software you need and understand the basic structure of the tool.
To start customizing, the first thing that you need to do is download the Model Checker Configurator for Revit. Use this link to access the site. Once installed, an application separate from Revit is installed and it can be found in the Autodesk folder for your Windows applications.
Launching the Model Checker loads the dialog found in Figure 2. The dialog is broken up into three main sections:
Section B is where you will be spending the majority of your time and efforts. In our first example, we are going to define a simple check that looks for Duplicate elements in the model. While this is a simple check, it is important because it can result in inaccurate schedule information.
To create this rule, the first step is to open the Model Checker Configurator for Revit and to beginning defining the checks. The second step is to start defining the structure of the configuration file.
The next step is define sections for our checks. For example, we may want to define specific rules that check parameter data and other rules to perform checks on geometry, etc. Using sections, we can organize our checks into groups.
The next step is where we start to define the individual rule. In this example, we are going to look for duplicate elements.
To start customizing, the first thing that you need to do is download the Model Checker Configurator for Revit. Use this link to access the site. Once installed, an application separate from Revit is installed and it can be found in the Autodesk folder for your Windows applications.
Figure 1 - Model Checker Application Icon |
Launching the Model Checker loads the dialog found in Figure 2. The dialog is broken up into three main sections:
- Section A allows you to Open, Create and Save configurations, as well as preview and export new configuration files for use with the Model Checker.
- Section B is where we create the rule checks.
- Section C tells you where the current configuration file is being saved.
Figure 2 - Autodesk Model Checker Configurator |
To create this rule, the first step is to open the Model Checker Configurator for Revit and to beginning defining the checks. The second step is to start defining the structure of the configuration file.
- Click on the New button to start defining a new Model Checker Configuration.
- Under General Settings and under Structure, click Add Heading.
- Edit the Heading Title and Description. Name the Heading to reflect the theme of the checks you will be defining.
Figure 3 - Adding a Heading |
The next step is define sections for our checks. For example, we may want to define specific rules that check parameter data and other rules to perform checks on geometry, etc. Using sections, we can organize our checks into groups.
- Click the Add Section button under Structure.
- Edit the Section Name and Description.
Figure 4 - Adding a Section |
Figure 5 - Defining the Element Check Configuration |
- Click the Add Check button under Structure.
- Change the Title Name to Duplicate Elements.
- Run Default. If this option is checked, the check will be set to run the first time the configuration is opened.
- Enter the Description for the Check.
- Failure Condition: There are two options which I explain below. We are going to using the Report Matching Condition option.
- Report Matching Condition: When individual model element failures will be reported for all elements matching the filters defined. If no elements match the filters, success will be reported.
- Report Failure when No Elements are Found: A failure will be reported if no elements are found that match the filters. Success is reported is elements are found that match the filters.
- Element Filter: This is the section that defines what we are checking. For our duplicate element checking, we need to define three filters.
Figure 6 - Duplicate View Filters |
Figure 7 - Model Checker Pane |
2. In the Model Checker | Open Configuration (Figure 8), click on the Open an Existing Configuration File radio button in the lower left-hand corner of the dialog. Then click on the more button to the right to open a dialog to select the example .XML configuration file that we created. When the configuration file is loaded, click the OK button to close the Model Check | Open Configuration dialog. This will open the Model Checker Configuration dialog (Figure 9).
3. The Model Checker Configuration dialog (Figure 9) will list all of the rule configurations that are available in the .XML file that we loaded in the previous step. In this dialog, you have the option to turn on and off the rule checks that you do not want to run, by unchecking the checkbox next to the rule. When you are done making any changes, click the Finish button on the toolbar. This will save the file and make the configuration file available to run.
4. Navigate to the Addin's tab and click the Run Check button in the Model Checker pane (Figure 10). This will run the configuration file that we have loaded in the previous steps. Clicking the Run Check button will open the Model Checker Processing Options dialog.
5. The Model Checker Processing Options dialog (Figure 11) provides would will options to select the models (links) loaded into your current project that you want to process and/or to add additional files to process. Clicking the checkbox to the left of the file name enables that model (link) to be processed. Clicking the Run Report button on the toolbar processes (Figure 12) the models (links) selected.
Once the models have been processed, a report (Figure 13) is generated detailing any of the issues that have been found. The nice thing about the report is that it will provide you with a link that will take you to the model elements in question.
Figure 8 - Model Checker | Open Configuration dialog |
3. The Model Checker Configuration dialog (Figure 9) will list all of the rule configurations that are available in the .XML file that we loaded in the previous step. In this dialog, you have the option to turn on and off the rule checks that you do not want to run, by unchecking the checkbox next to the rule. When you are done making any changes, click the Finish button on the toolbar. This will save the file and make the configuration file available to run.
Figure 9 - Model Checker Configuration |
Figure 10 - Model Checker Pane |
Figure 11 - Model Checker Processing Options dialog |
Figure 12 - Model Checking Progress Checking |
Figure 13 - Model Checker Report |