My model contains levels.
I have some elements in my model, that are workplane based.
I need to export my model elements to IFC. They should have a custom parameter indicating the building level [Name of the level] they are contained in.
How can I create a IFC parameter mapping for 'level' for workplane based elements?
I am aware, that Revit somehow does this automatically. Unfortunately not all IFC software recognizes the level grouping created by Revit, hence I need to create a specific custom parameter that would contain a level name.
Solved! Go to Solution.
Solved by L.Maas. Go to Solution.
You can use IfcSpatialContainer. Add this as project (instance) parameter to the desired family categories.
For this to work you need to fulfill some prerequisites.
-You will need the IFC 20xx Addin (free on the App Store)
-The levels in Revit that you use to assign your elements to need the parameter Building Story checked.
So for the desired elements you would fill it like this
Louis
Please mention Revit version, especially when uploading Revit files.
Thank you for the reply!
This seems to work.
I have a question. I've created and added the IfcSpatialContainer parameter. By default, the parameter is empty. Do I have to fill in the parameter value manually for each element? Maybe, there is some way to automate this?
Maybe I'm wrong, but Revit seems to be able to tell which level contains which element. Some IFC software (e.g. Solibri) is able to read the exported IFC and group all elements by floor correctly without additional parameters.
But others (e.g. Trimble Connect) cannot.
So my idea was, maybe there is a way to make use of this hidden floor parameter (AFAIK, it's not explicitly defined, but elements are still grouped by level as seen in Solibri) and map the contents to my own parameter?
Depending on the category Revit sometimes uses Level to connect elements to a certain level and in other instance it uses "Reference Level" which will indicate to which level it is connected.
If your element is on a level that is not marked as a building story then the element in IFC is connected to the level (building story) below.
With IFC you are always dependent the IFC writing software and the IFC reading software. Depending on how these are implemented and used might give different results. S
I probably would create a Dynamo script to read level information from Revit and then push that information to the IfcSpatialContainer parameter.
Louis
Please mention Revit version, especially when uploading Revit files.
Ok. I see.
I also thought of using Dynamo for this, but decided to ask, just in case a simpler solution existed.
But I guess nothing is ever simple in Revit. 😄
Thank you for the explanation.
Can't find what you're looking for? Ask the community or share your knowledge.