M

Application.OpenDocumentFile

Description:
Opens a document from disk or cloud.
Remarks:
This method opens the document into memory but does not make it visible to the user in any way. If the user currently has ownership of elements in this model and there is no local model on this machine, Revit will post a warning.
Overloads (3):
OpenDocumentFile(ModelPath,OpenOptions,IOpenFromCloudCallback)
public Document OpenDocumentFile(
	ModelPath modelPath,
	OpenOptions openOptions,
	IOpenFromCloudCallback openFromCloudCallback
)
Return Value The opened document. The opened document.