Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to activate and close the IFC Export dialog #80

Open
NicklasOestergaard opened this issue Jun 8, 2021 · 1 comment
Open

How to activate and close the IFC Export dialog #80

NicklasOestergaard opened this issue Jun 8, 2021 · 1 comment

Comments

@NicklasOestergaard
Copy link
Contributor

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.

@petersmithfromengland
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants