Support site for Simplebim® users
In This Topic
    mvdXML
    In This Topic

    Current version and history

    The most current version is 9.0 for Simplebim 9. This version was published 13.7.2021

    What's new in 9.0

    What's new in 8.2

    What's new in 8.1

    What's new in 8.0

    What's new in 7.1 SR2

    What's new in 7.1 SR1

    Background

    MVDs (Model View Definitions) are used for defining subsets of models that are relevant to a specific use case. They define the scope of the model subset and rules for the data and data structures within that subset. The goal is, that a model which is compliant with an MVD can be successfully used for an intended purpose. If this as a Simplebim user sounds familiar to you, it is because this is what Simplebim does. In fact the roots of Simplebim are in MVD and the creators of Simplebim were also the driving force behind the original version of MVD. You can read more about the current status of MVD on the BuildingSmart web site.

    MvdXML is the machine readable representation of MVD. The idea is that software vendors can implement support for mvdXML and use this mechanism for creating IFC import and export filters, as well as for setting validation rules. You can read more about mvdXML on the official BuildingSmart mvdXML site.

    Functionality of the Add-on

    The mvdXML add-on for Simplebim was developed in co-operation with Statsbygg and it is only tested to work with mvdXML files created by Statsbygg. MvdXML is a very flexible format and its implementations in software are still in their early stages. Once the implementations stabilize we will try to support mvdXML In a more generic way. Until then you can try this add-on and provide us feedback at support@simplebim.com.

    The basic work flow of this add-on involves 5 steps

    1. Load a mvdXML file
      MvdXML files are XML files that follow the schema defined by BuildingSmart.
    2. Select Model View (MVD)
      One mvdXML file may contain several MVDs and if this is the case, you must choose which of the MVDs you want to use
    3. Select Exchange Requirement (ER)
      Each MVD can contain several ERs and if this is the case, you must choose which of the ERs you want to use
    4. Generate Simplebim template
      Once you have chosen the MVD and ER you can generate a Simplebim template that corresponds to the chosen ER. Before you generate the template, please also read about the settings that control the generation of the template. Once you have generated the template your can preview it inside Simplebim and even make adjustments if needed. For example on the Settings worksheet you might want to add the Author and edit the automatically generated Name, Key, Group and Version information.
    5. Apply / Save the Simplebim template
      Finally you can apply the template to the currently open model or save it as a Simplebim template file for future use. This allows MVD based requirements to be distributed either as mvdXML files, in which case the Simplebim user must have the mvdXML add-on installed, or as Simplebim templates in which case the add-on does not have to be installed and also the more advanced validation features of Simplebim can be used.

    Settings

    The settings are saved in the user's profile, which means that the settings are remembered between sessions.
    Setting Description
    Add Missing Properties ERs often use PropertySets and QuantitySets that may not exist in the model that is being validated. By adding any missing properties into the model such omissions can be nicely shown in the validation results. This also allows you to edit the properties in Simplebim for correcting issue. Often for example data can be found in the model, but it is not located in the required property. In this case you can simply move the data with Simplebim from its current location into the required property.
    Trim Model The ER defines which objects and properties are needed in a exchange. If the ER is defined correctly anything else is not needed. By trimming the model you remove all unnecessary objects and properties from the model, which makes the model and the validation results much easier to read.
    Create Validation Rules Validation rules define which objects and properties must be found in the model and can set rules for the allowed values of properties. Sometimes validation rules don't apply to all objects of an object class, for example not to all walls, but just exterior walls. In such cases a group is created for 'exterior walls' and the validation rules are applied only to objects in that group.
    Property Set Prefixes

    We don't currently have way to know from the data in a mvdXML file if a property is a Property Set or Quantity Set property. The prefix used in the IFC documentation for Property Sets is 'Pset_' and for Quantity Sets is 'Qto_'. With this setting you can define your own (comma separated) list of prefixes such that the Simplebim template can be created correctly. For example 'Pset_,MyPrefix_'

    Quantity Set Prefixes Just like 'Property Set Prefixes' but for Quantity Sets.

    Using  the Add-on

    The mvdXML add-on installs a new mvdXML workspace that you can use for generating Simplebim templates from mvdXML files. The process of using this workspace is as follows.

    1. Start Simplebim
    2. Import the IFC model you wish to validate. If you are not validating any specific model, but are just generating mvdXML based templates, you can import any (small) model
    3. On the Ribbon Home tab open the Other Workspaces dropdown list
    4. At the bottom of the list you find a "Add-on Workspaces" section and from there select the "mvdXML" workspace
    5. The mvdXML workspace has a 3D palette on the top and below it a mvdXML palette. The mvdXML palette has two tabs, one for generating templates and another for previewing templates. The settings are found on the Generate tab. On the right side of the workspace you find the familiar Objects and Properties palettes that show the validation results once you have applied a generated template.
    6. For generating the mvdXML based templates please follow the steps documented above in the 'Functionality of the add-on' section and also read the 'Settings' section above.
    7. Preview the result and apply or save the template. You can generate several templates in one session by loading another mvdXML file or selecting another ER and then generating the template again.

    Advanced Techniques

    The data in mvdXML files does not tell the required data type for properties, like string, boolean, integer, length measure etc. But this information is needed for validation because the data type is important for the system that imports the IFC models. When the mvdXML add-on is installed it installs the file mvdXML Template.xlsx into the Modules sub-folder of the Simplebim installation folder, which by default is C:\Program Files\Datacubist\Simplebim 7.This is an empty Simplebim template file with one additional worksheet called mvdXML. Please note that you need administrator rights for editing this file. On this worksheet there is a list of all Property Sets and Quantity Sets defined in the IFC4 documentation. You can add your own properties to this list following the same pattern as used for the IFC properties. This list also contains the data type (property type) and it overrides all other property recognition methods that may be used by the add-on. If you make any changes to this file, please be sure to save a copy in another location because this file will be overwritten when you install a new version of the mvdXML add-on.

    Known Limitations

    The current version of the mvdXML add-on has the following limitations