IsValidSectionTypeId Method


Analytical Member Is Valid Section Type Id Method

Checks whether the family symbol id is allowed for Analytical Member as Section Type property.

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

Parameters

familySymbolId ElementId
Family symbol id which has to be checked.

Return Value

Boolean
True if %familySymbolId% is invalidElementId; or if it is the id of a FamilySymbol of category "Structural Framing" (OST_StructuralFraming) or "Structural Columns" (OST_StructuralColumns) Returns false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
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 →