Hello,
I have a master Revit file with multiple Revit links. When I export the master file to IFC, I include the option to convert linked file as a separate IFC as we have more than 100 Revit models, so this workflow was working best for us.
On some models, I have created a separate workset for steel elements, as I do not want to covert them.
So on the master file, I modified the display setting to "Custom" for those individual links not to display the steel workset.
However, when I export the IFC with linked files, all the geometry is exported, including the workset that I have hidden.
Any help or workaround?
#I use Revit 2021.1.9
Gelöst! Gehe zur Lösung
Gelöst von TripleM-Dev.net. Gehe zur Lösung
Export the IFC from a specific 3D view with the visibility settings correctly configured. Make sure the steelworks are hidden in this view.
Hi @theslacollier,
I don't think that will work, this would only work for the current model, not for the linked models.
I haven't exported linked models to IFC in a long time, and at that time I needed to export all.
Set the IfcExportAs parameter value of those elements to "DONTEXPORT", they will not be exported. (if it's possible to set the value of all those elements to it?)
- Michel
Uhm,
Maybe try this, if it's one workset, make sure a workset in the master exists with the same name and turn that off in the master (in a 3D view as @theslacollier states) maybe it works and Revit also skips that workset for the linked models?
Hi @adimariaBXE2A
Thanks a lot for posting your question to the forums! Has the solution suggested by @theslacollier @TripleM-Dev.net helped with your issue?
We look forward to hearing back from you with more information so we can help you as a community!

Jonathan Hand
Industry Community Manager | AEC (Architecture & Building)
Hi @theslacollier, @TripleM-Dev.net is correct on him comment. The issue is that I am trying to solve this on "Export link as separateIFC".
Thanks
@TripleM-Dev.net I have tried the second solution and so ensuring the same workset exist on all linked files as well as in the master file. Then I switched off the workset "Halfen Channels" both in the links and in the master file. This did not help. I still get al the halfen channels exported even though I uncheck the option "Include steel elements"
For solution 1, I have not tried. Any additional help on getting this done "Set the IfcExportAs parameter value of those elements to "DONTEXPORT"".
Thanks for your help.
Hi @adimariaBXE2A ,
The workset solution was a 'reach' didn't think it would work because it's view related and that doesn't work well with links.
For the IfcExportAs method, you will need to edit the elements in the links and give all elements that shouldn't be exported the value "DONTEXPORT" for IfcExportAs. (so alle linked models need to be opened and edited, once, and updated with future alterations)
Make a project text parameter IfcExportAs (if one already exists it's another story)
And attach it minimally to the categories that needed to be excluded from the IfcExport.
I don't know the workflow of model you're working on, but the parameter could best be set to Instance and not aligned to Groups (this way they are freely editable) In my own projects the parameter is Type bound so we can set the correct IfcClasses, for instance "IfcBeam" etc..where needed)
Next create a schedule multicategory and add fields: Workset and IfcExportAs parameter to it and set grouping to both fields and uncheck "itemize every instance"
With this you can quickly fill in the IfcExportAs value for the correct Workset.
Ps. I don't know if workset and all categories are possible in Schedules in Revit 2021, it is in R2022 (been several years age)
Otherwise create a view and only show X-workset and select all and fill in the IfcExportAs Parameter with DONTEXPORT, can be a pain if groups or nested elements!
See screenshot below.
Now depending on model etc, it may be easier to attach the parameter to type and not instance
Further you could also create a global parameter and attach it to the IfcExportAs parameter value (this way you don't need to fill in the value) + you can reset it if all need to be exported.
Do take care that in editing etc, only the correct elements get the "DONTEXPORT" value else you could be missing elements.
With this you do need to edit the linked models, but once done and kept up during edits the export form the host should be possible
I hope this make sense. It's quite difficult to describe all the different ways this could be done depending on the model and workflows.
Ps. Also take note that from Revit 2023 you need to use the builtin parameters for this and no longer the IfcExportAs parameter.
- Michel
below also the project parameter setup.
A = Type of instance / B=if instance, aligned by groups or not / C = pick desired categories.
Hi @TripleM-Dev.net the solution to create the parameter IfcExportAs worked: this parameter already existed in my Revit files since loaded from a text template file for our project. So, what I had to do was to open the family for the cast-in (halfen-channel in this case) and add the parameter, then set the value to DONEXPORT.
As result, the item was not exported. This also worked when the Revit file was a link in the master Revit file and using the function "Export links as a separate IFC".
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.