StructuralConnectionType.ValidFamilySymbolId
Description:
Checks whether the family symbol id is allowed for StructuralConnectionTypes with the given value for the applyTo property.
Checks whether the family symbol id is allowed for StructuralConnectionTypes with the given value for the applyTo property.
public static bool ValidFamilySymbolId(
Document doc,
StructuralConnectionApplyTo applyTo,
ElementId familySymbolId
)
-
doc
-
applyTo
-
familySymbolId
Return Value
Boolean
True if %familySymbolId% is invalidElementId; or if it is
the id of a FamilySymbol of category "Connection
Symbols" (OST_StructConnectionSymbols) with its "Apply
To" parameter set to match the applyTo property.
Returns false otherwise.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration