Skip to content

StructuralConnectionType.SetFamilySymbolId

Public Class

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.