<Code Lib>
2021 Method
Changes 0
M

Document.Link(String, SKPImportOptions, View)

Description:
Links an SKP file into the project document.
Remarks:
Link isn't supported for family documents. Please use import instead.

public ElementId Link(
	string file,
	SKPImportOptions options,
	View pDBView
)

  • String
    file
    Full path of the file to link. File must exist and must be a valid SKP file.
  • options
    Various import options applicable to the SKP 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 linked.
Return Value ElementId Returns the element Id of the linked instance.

Loading…