Revit 2025 API
Load |
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 )
Public Function IsLoadCaseSubcategoryId ( loadCaseSubcategoryId As ElementId ) As Boolean
public: bool IsLoadCaseSubcategoryId( ElementId^ loadCaseSubcategoryId )
member IsLoadCaseSubcategoryId : loadCaseSubcategoryId : ElementId -> bool
Parameters
- loadCaseSubcategoryId ElementId
- The ID to check.
Return Value
BooleanTrue if the ID refers to load case category element, false otherwise.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

Built-in structural Load Cases (OST_LoadCases) subcategories are:
OST_LoadCasesDeadOST_LoadCasesLiveOST_LoadCasesWindOST_LoadCasesSnowOST_LoadCasesRoofLiveOST_LoadCasesAccidentalOST_LoadCasesTemperatureOST_LoadCasesSeismic
See Also