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 ?