IsExcludedFromLeaderOutline Method


Annotation Family Utils Is Excluded From Leader Outline Method

Checks if the element is excluded from the annotation outline used by leaders.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static bool IsExcludedFromLeaderOutline(
	Element element
)

Parameters

element Element
The element to check.

Return Value

Boolean
True if the element is excluded from the leader outline, false otherwise.
Exceptions
Exception Condition
ArgumentException element doesn't support the EXCLUDE_FROM_LEADER_OUTLINE parameter.
ArgumentNullException A non-optional argument was null
Remarks
This function controls the built-in parameter EXCLUDE_FROM_LEADER_OUTLINE.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →