2024 Method
Changes 0
M

RevitLinkType.Create

Description:
Creates a new Revit link type from an external resource reference and loads the linked document.
Remarks:

This function regenerates the input document.

Only the WorksetConfiguration information in the options argument will be used. The path type information will be ignored.

Overloads (2):
Create(Document,ExternalResourceReference,RevitLinkOptions)
public static LinkLoadResult Create(
	Document document,
	ExternalResourceReference resourceReference,
	RevitLinkOptions options
)
Return Value LinkLoadResult An object containing the results of creating and loading the Revit link type. It contains the ElementId of the new link.