I have a problem with a dialogbox shown when opening a model, please see this link:
https://forums.autodesk.com/t5/revit-api-forum/dialogboxshowing-event-not-firing-when-model-is-opene...
Any solutions?
Best regards
I have a problem with a dialogbox shown when opening a model, please see this link:
https://forums.autodesk.com/t5/revit-api-forum/dialogboxshowing-event-not-firing-when-model-is-opene...
Any solutions?
Best regards
Dear Peter,
Basically, all dialogue boxes can be automatically closed one way or another.
The Revit API offers two mechanisms that can help, the dialogue box event and the failure handling system.
If they both cannot be used, you can take recourse to the native Windows API to simulate a click on the OK button, or any other response you choose.
Here are discussions on all three methods for detecting and handling dialogues and failures:
https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.32
Cheers,
Jeremy
Dear Peter,
Basically, all dialogue boxes can be automatically closed one way or another.
The Revit API offers two mechanisms that can help, the dialogue box event and the failure handling system.
If they both cannot be used, you can take recourse to the native Windows API to simulate a click on the OK button, or any other response you choose.
Here are discussions on all three methods for detecting and handling dialogues and failures:
https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.32
Cheers,
Jeremy
Can't find what you're looking for? Ask the community or share your knowledge.