GetAbsolutePathAsModelPath

ModelPath GetAbsolutePathAsModelPath(this RevitLinkType linkType)

Gets the absolute file path of the link as a ModelPath.

Parameters

  • linkTypeRevitLinkType

    The link type.

Returns: Absolute ModelPath (or null if unavailable).

Example

ModelPath mp = linkType.GetAbsolutePathAsModelPath();