2021 Method
Changes 0
M

Document.Import

Description:
Imports a DGN file to the document.
public bool Import(
	string file,
	DGNImportOptions options,
	View pDBView,
	out ElementId elementId
)
  • String
    file
    Full path of the file to import. File must exist and must be a valid DGN file.
  • options
    Various options applicable to the DGN format. If nulla null reference (Nothing in Visual Basic), all options will be set to their respective default values.
  • pDBView
    The view into which the file will be imported.
  • elementId
    The id of imported instance after a successful import.
Return Value bool True if successful, otherwise False.