Creating acceptable IFC output can be a challenge. The property structure of an IFC file is as important as the geometry it contains.
One of the basic requirements is for a classification code to be contained in an IFC as an IfcClassificationReference. This can be achieved using the Alternative IFC UI (User Interface).
Here’s what you’ll need:
- Download and install the Alternative UI from either https://apps.autodesk.com/RVT/en/Detail/Index?id=3754730560173591798&appLang=en&os=Win32_64 or https://sourceforge.net/projects/ifcexporter/
- An IFC Shared Parameters (Available from http://revit.autodesk.com/library/Library/Revit%20Instruction%20&%20Help%20Samples/IFC/IFC%20Shared%20Parameters.txt)
Once loaded, the Shared Parameters contains ClassificationCode:
To export the IfcClassificationReference:
- Add the ClassificationCode parameter as a Project Parameter to all elements from Manage > Settings > Project Parameters. Click Add…
- Set the Parameter Type to Shared Parameter and click Select…. From the Shared Parameters list, pick ClassificationCode.
- Set the parameter to be a Type property so that all instances are the same.
- Make sure that Group parameter under is set to IFC Parameters.
- Select all the Categories on the right-hand side to which you require the parameter to be available. (For consistency it can be easier to Check All.)
- Now, as you are placing elements, the ClassificationCode parameter will be available in the Type Properties window:
- Once modelling is complete and you are ready to produce the IFC, got to the Application Menu (the big blue R) > Export > IFC. Click on Assignments….
- On the Classification tab, fill in the details of the classification system you are using and the parameter used in the Classification field name:
- Once this is set, export the IFC model and the classification will be created as an IfcClassificationReference: