IsLoadCaseSubcategoryId Method


Load Case Is Load Case Subcategory Id Method

Checks whether provided element ID refer to subcategory of Structural Load Cases ( OST_LoadCases ) category - one of built-in or user defined.

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

Parameters

loadCaseSubcategoryId ElementId
The ID to check.

Return Value

Boolean
True if the ID refers to load case category element, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
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 →