Open NicklasOestergaard opened 3 years ago
Hi @NicklasOestergaard is this one still a problem for you? At first glance it seems like more of a Revit API question than an issue with RBP so you may get better traction on finding an answer on the Dynamo/Revit API forums.
Postable command only really automates the clicking of the command button on the revit toolbar. In your case there wouldn't be a close dialog method or command. Does the export IFC method on the document class get you any closer to what you're trying to achieve?
https://www.revitapidocs.com/2019/7efa4eb3-8d94-b8e7-f608-3dbae751331d.htm
How can I enable Revits OS IFC exporter so I can use and save IFC export-settings for my Dynamo scripts. I can activate the exporter by using uiapp.PostCommand (RevitCommandId.LookupPostableCommandId ("ID_EXPORT_IFC")), but I can not close the dialog and run the last part om my script.