Hi all,
I would like to make, via Revit 2014 API, an IFC export of the current opened document.
Obviously, I can call programmatically the IFC export process (Document.Export + IFCExportOptions) but my problem is that I need to add some informations to the exported data.
Namely, I want to add specific Property Sets to exported Windows, Doors, Spaces, etc ...
One way to do this could be to recompile the Open Source IFC exporter with some modifications.
A second (ugly) way would be to let Revit write the IFC file, then re-open it, parse it, and add relevant informations before rewrite it on disk.
Both solutions are bad.
The best way would be to override the default IFC exporter engine process, to catch IFC informations before file creation and add needed data.
Is there a mechanism I could use to do this ?
Thanks 😉
Solved! Go to Solution.
Solved by Joe.Ye. Go to Solution.
Why not submit changes to the opensource IFC exporter so user interaction or reading from some config file can do what you want. Assuming there are more than just you who want this functionality then it would be accepted into the IFC exporter. Isn't that part of the point of making it OpenSource?