RVTDocs.com
Namespace: Autodesk.Revit.DB Class: RevitLinkType

RevitLinkType.IsLoaded

Method
Description:
Checks whether the link with this id is loaded.
Remarks:
Returns false if typeId is not the id of a RevitLinkType.
Syntax
public static bool IsLoaded(
	Document document,
	ElementId typeId
)
Parameters
Parameter Type Description
document Document A document. Revit will see if typeId corresponds to a loaded link in this document.
typeId ElementId An element id. Revit will check if typeId corresponds to a loaded link in the given document.
Return Value
Type Description
Boolean True if typeId corresponds to a loaded RevitLinkType. False otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null