Whenever an IFC or DWG file is opened in Solibri Model Checker (SMC), you’ll notice the Ensure Model Disciplines dialog window prompting you to confirm the disciplines of your model files. The following article provides details as to why this dialog is important and ways to automatically map your models files to the correct disciplines.
Ensuring your models are set to the correct disciplines is important as many of the filters in SMC’s Rulesets and Information Takeoff Definitions (ITOs) rely on the discipline property to limit what components are checked or reported.
For example, if you view the rule parameters of the Intersections in HVAC Models (Insultations Not Included) rule from the Intersections in MEP Model ruleset found in the MEP Rules ruleset folder that comes with SMC, this rule limits intersection checks to only those components that are included in your mechanical, electrical, and plumbing services (MEP) models. This was done by setting the filter in the Components to be Checked table to only Include components that have a Discipline property from the Identification property group that is set to One Of the 10 disciplines (Air Conditioning, Building Services, Cooling, etc.) that would fall under the MEP disciplines. This ensures that any components from your Structural or Architectural models, for example, will be ignored in this check, provided that you have set the disciplines of those models correctly.
You may have noticed that some of your models are automatically setting themselves to a discipline other than Architectural when you open them. This is likely due to the name of the application that created those models. For example, if you were to open the SMC Building.ifc, Ground_Floor_Vent.ifc, First_Floor_Vent.ifc, and Second_Floor_Vent.ifc sample models that come with SMC, you’ll notice that only SMC Building.ifc is set to Architectural, while the others three are set to Building Services.
Selecting Ground_Floor_Vent.ifc in the Model Tree view, in the Info view, you’ll notice the Application property in the Identification property group has the value “MagiCAD HPV 2009.5.” This value is automatically mapping to the Building Services discipline through the Discipline and Color Map settings in SMC.
If you click File > Settings > Discipline and Color Map…, the following window will open in SMC.
You’ll see in the Application Name column a listing for *MagiCAD* that maps to the Building Services discipline. Notice that there are asterisks (*) wildcard characters included in the value listed in the Application Name column. An asterisk pattern character matches 0 or more characters. Therefore, as long as “MagiCAD” is contained the application name (there can be any number of characters before or after “MagiCAD” in the name of the application), it will map to the Building Services discipline. Though it doesn’t appear in any of the mappings, the question mark (?) pattern character can also be used to match exactly one character.
There are also listings for *MagiCAD-R* and *MagiCAD-E* that proceed the listing of *MagiCAD*. These two other “R” and “E” application versions are specific to the creation of Architectural and Electrical models, which is why these mappings are set to those disciplines respectively. The Discipline Mapping list checks the Application Name in a top-down order; therefore, even though the name “MagiCAD-R” itself matches the *MagiCAD* pattern mapping, since the *MagiCAD-R* pattern mapping appears before the *MagiCAD* pattern mapping in the list, any model that comes from an application with “MagiCAD-R” in the filename would first map to Architectural.
Note: The capitalization of the mappings is the same as what you’d see on the box of the application. However, these pattern mappings are not case sensitive, and you need not worry about getting the capitalization correct when creating your own mappings. Also note, that any file that doesn’t map to any of the rows in the table will simply map to the Architectural discipline as it is the first discipline alphabetically listed.
You can also map to disciplines based on your own file naming convention of your models. This can be useful for some applications such as Revit “One Box”, in which Architectural, MEP, and Structural can all be modelled from the same application. In the Discipline Mapping window, notice the File Name column in each row of the out-of-the-box mappings that is set to *.*. This pattern simply matches any filename with any extension since these default mappings are only mapping based on the Application Name column.
For example, if all of your plumbing DWG models end with a “-P” in the filename and any structural model (ifc or dwg) begin with “STRUCT_” or “Struct-” in the filename, you could add the following rows to the table that disregard the application name and map to disciplines using the File Name column using the patterns *-P.dwg and *struct?.* respectively:
In the pattern *-P.DWG, notice that there is no asterisks (*) after “dwg” since dwg is the file extension and no other characters should come after it.
In the pattern struct?*.*, notice that there is no preceding asterisk before “struct” since the filename should immediately start with “struct” (ignoring case). The question mark (?) pattern character was used immediately after “struct” as this will match exactly one character, which could be either _ or – in this example naming convention. The last part of the pattern map is *.*, which simply matches anything in the filename thereafter, and the file extension can be anything (though only IFC, ZIP, IFCZIP, and DWG supported).
You can find additional information in our online help here: https://solution.solibri.com/help/smc/9.5/en/html_discipline_and_color_mapping_settings.htm