HasLeaderSnapReference Method


Annotation Family Utils Has Leader Snap Reference Method

Checks if the element supports the LEADER_SNAP_REFERENCE parameter.

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

Parameters

element Element
The element to check.

Return Value

Boolean
True if the element has the LEADER_SNAP_REFERENCE parameter, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
Only some elements in annotation families have the LEADER_SNAP_REFERENCE parameter.
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 →