2027 Method
Changes 0
M

RevitLinkType.IsLoaded

Description:
Checks whether the link with this id is loaded.
Remarks:
Returns false if typeId is not the id of a RevitLinkType.
public static bool IsLoaded(
	Document document,
	ElementId typeId
)
  • document
    A document. Revit will see if typeId corresponds to a loaded link in this document.
  • typeId
    An element id. Revit will check if typeId corresponds to a loaded link in the given document.
Return Value Boolean True if typeId corresponds to a loaded RevitLinkType. False otherwise.