Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API expose flags to DocumentOpening events

API expose flags to DocumentOpening events

This idea is a follow-up to support CaseNo:12531673

 

What we are trying to do is intercept the user's command to open a document and check if the user had ticked "create new local" as an option.

 

  • If they had ticked it, nothing will happen
  • If they hadn't, we cancel/modify the open command so "create new local" is checked and finally issue a TaskDialog warning that they had forgotten to do so.

Checking the API documentation, it seems the DocumentOpeningEventArgs don't expose any of the OpenOptions settings that we are able to specify when starting a new OpenDocumentFile command, but only the document type and file path, as per documentation :

 

http://www.revitapidocs.com/2017/1c21b33d-1314-d096-0a36-ad59ad80c6e9.htm

 

Please add access to the OpenOptions settings when using the pre-document opening events ?

2 Comments
sasha.crotty
Community Manager
Thanks for taking the time to submit your idea. Unfortunately, this idea did not get the support of the community over the last 6 months and as such we will not be pursuing it at this time. Please feel free to rework (titles and clear descriptions are really important) and resubmit this one down the road.
sasha.crotty
Community Manager
Status changed to: Archived
 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report


Autodesk Design & Make Report