Document.Link
Description:
Links Markups in a DWF file into the project document.
Links Markups in a DWF file into the project document.
Remarks:
Link isn't supported for family documents. Please use import instead.
Link isn't supported for family documents. Please use import instead.
Overloads (9):
Link(String,DWFImportOptions)
public IList<ElementId> Link(
string file,
DWFImportOptions options
)
-
StringfileFull path of the file to link. File must exist and must be a valid DWF file.
-
optionsVarious link options applicable to the DWF format.
-
Not a valid file for DWF import (.dwf or.dwfx files are valid). -or- Some of the views are not importable.
-
A non-optional argument was null
-
The given file does not exist.
-
Import is temporarily disabled. -or- This Document is not a project document.
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document is being loaded, or is in the midst of another sensitive process.
-
The document has no open transaction.