RevitLinkType.IsLoaded
Method
Description:
Checks whether the link with this id is loaded.
Checks whether the link with this id is loaded.
Remarks:
Returns false if typeId is not the id of a RevitLinkType.
Returns false if typeId is not the id of a RevitLinkType.
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 |