SetIsExcludedFromLeaderOutline Method


Annotation Family Utils Set Is Excluded From Leader Outline Method

Sets 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 void SetIsExcludedFromLeaderOutline(
	Element element,
	bool isExcluded
)

Parameters

element Element
The element to set.
isExcluded Boolean
Pass true to exclude the element 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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →