RVTDocs.com
Namespace: Autodesk.Revit.DB

OpenForeignOption

Enumeration
Description:
Options for opening files saved by an application that was not developed or licensed by Autodesk.
Syntax
public enum OpenForeignOption
OpenForeignOption Enumeration Members:
Name Description
0 Do not show any prompt to the user if a foreign file is detected. Proceed to open.
1 Do not show any prompt to the user if a foreign file is detected. Cancel this operation (do not open the file).
2 If possible, show a prompt to the user if a foreign file is detected. The operation may proceed or cancel based on the response.