IsNested

bool IsNested(this RevitLinkInstance link)

Checks if the link is a nested link (host document is itself linked).

Parameters

  • linkRevitLinkInstance

    The link instance.

Returns: True if nested; otherwise false.

Example

bool nested = link.IsNested();