IsLoaded

bool IsLoaded(this RevitLinkInstance link)

Checks if the link instance is loaded (link document is available).

Parameters

  • linkRevitLinkInstance

    The link instance to inspect.

Returns: True if loaded; otherwise false.

Example

bool loaded = link.IsLoaded();