It is possible to import Revit Rooms or Spaces with any associated information from a Revit model directly into the dRofus database.
This feature can be used to load data into a dRofus Project from an existing Revit model. This function is also used to dynamically add Rooms or Spaces being created in Revit into dRofus. For example, after having placed all of the dRofus Rooms or Spaces in the Revit model, you might later add all the additional Revit created Rooms (such as Corridors) or Spaces into dRofus.
What data is imported?
Like all other operations in the Revit Plug-In this process also relies upon the active Room Attribute Configuration. By default it will use the Configuration you have defined as Default, but you can also create a customised Configuration for importing Rooms. If so, make sure you select the correct Attribute Configuration by clicking on the active Attribute Configuration to use within the "Import rooms to dRofus" dialog (highlighted below):
When importing Rooms or Spaces to dRofus the directions of all the mapped attributes within the Attribute Configuration will be reversed in order to write data FROM Revit TO dRofus. For example, if you have defined that "Notes" on a Room should go from dRofus to Revit in the active Attribute Configuration, when you carry out the Revit Rooms or Spaces import, it will actually push the values the other way - i.e., from Revit to dRofus. However, note that it will not update any Attributes that are read-only in dRofus (such as system or calculated attributes). These attributes will be displayed in half tone within the Attribute Configuration editor to indicate which ones cannot be updated.
Where should the Rooms or Spaces be imported to in dRofus?
Every Room that is to be imported in to dRofus must be located somewhere within the pre-defined Function Structure. So before importing Rooms or Spaces into dRofus you must decide which Function and / or Sub-Function to import to.
You need to identify the Room Parameters within Revit which contain Functions / Sub Functions information. In the following example, for Rooms on LEVEL 9, the Revit Room Parameter called "Building" is used to define the 1st Function tier, "Level" as the 2nd Function tier and "Department" as the 3rd Function tier (highlighted below):
Within the "Import Rooms to dRofus" dialog, you select the Room Parameters that contain the Function / Sub Function definitions. You can then specify whether the values within each Parameter contain the Name value, Number value, or both. The default is that it contains the Name only.
If the Room or Space parameter contains only the name of the Function, it will create a new Function in dRofus with that name (if it doesn't already exist) and auto-generate a number for that Function during import.
If the Room or Space parameter contains only the number of the Function, it will create a new Function in dRofus with that number (if it doesn't already exist) and leave its name empty.
An example of using Name only against the 3 levels of Functions is as follows:
There are 3 ways of filtering which Room(s) or Space(s) to consider for importing in to dRofus as Rooms:
- Checkbox to include only placed Room(s) or Space(s)
- Checkbox to include only Room(s) or Space(s) in the Primary Design Option
- Checkboxes to include only specific Room(s) or Space(s) and / or lowest (identified) Function(s)
If the Room or Space parameter contains both the name as well as number of the Function, you will need to specify the separation character used to split the name and number. For e.g., if the Room or Space parameter contains the value '123_my function' the name and number is split using the '_' character.
If you would like to create a structure with Parent / Child Functions in dRofus you can specify the numbers of all the Functions separated by a special character as well as the name of the Functions. Note that all the Functions will get the name you specify. In the image below the Rooms will be imported into a 3 level Function structure. In the case of the highest function level (Building), the name and number is split using the '.' character:
Using the "Name only" option for all the 3 Function tiers, and after clicking on "Import Rooms", 1 x 2nd tier Function called "LEVEL 9" and 3 x 3rd tier Functions called "Balcony", "T&E" and "Unit" along with the 13 Room instances have now been created within dRofus as follows:
Note that the Function "LEVEL 9" has acquired "12" as its Number. This can be easily changed within the "Properties" panel on the right-hand side:
If you have not yet decided the Functions / Sub-Functions (within the pre-defined Function Structure) in to which you'd like your Rooms or Spaces to be imported in to, you could just import the Rooms or Spaces into a temporary Function in dRofus, and then later move them to the desired Functions / Sub-Functions within the dRofus Client.
If the active Room or Space Attribute Configuration has been mapped with dRofus' "Room Name" --> Revit's "Name" - "Room Name"s of the new Rooms created in dRofus will be blank and "Name"s of the Rooms or Spaces within the model will be blanked out.
If the active Room or Space Attribute Configuration has been mapped with Revit's "Name" --> dRofus' "Room Name" AND the "Disable edit room names" within dRofus Client is checked by the Project Administrator - an error message saying "Changing the list of predefined Room Names is not allowed" will appear, followed by another message saying no Rooms have been imported / created within dRofus.
If the active Room or Space Attribute Configuration has no mapping of Names between dRofus and Revit - "Room Name"s of the new Rooms created in dRofus will be blank while "Name"s of the Rooms or Spaces within the model will remain unchanged.