SetFamilySymbolId Method


Structural Connection Type Set Family Symbol Id Method

FamilySymbol of the annotation to use for this connection type.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetFamilySymbolId(
	ElementId familySymbolId
)

Parameters

familySymbolId ElementId
Exceptions
Exception Condition
ArgumentException Thrown when familySymbolId is the id of some element that is not a FamilySymbol, is not of the category "Connection Symbols" (OST_StructConnectionSymbols), or has its "Apply To" parameter not equal to this type's applyTo property.
ArgumentNullException A non-optional argument was null
Remarks
The FamilySymbol must be of category "Connection Symbols" (OST_StructConnectionSymbols) and have its "Apply To" parameter set to match the applyTo property.
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 →