IsLoadCaseSubcategoryId 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: 17.0.0.0 (17.0.1090.0)

Syntax

C#
public bool IsLoadCaseSubcategoryId(
	ElementId loadCaseSubcategoryId
)
Visual Basic
Public Function IsLoadCaseSubcategoryId ( _
	loadCaseSubcategoryId As ElementId _
) As Boolean
Visual C++
public:
bool IsLoadCaseSubcategoryId(
	ElementId^ loadCaseSubcategoryId
)

Parameters

loadCaseSubcategoryId
Type: Autodesk.Revit.DB ElementId
The ID to check.

Return Value

True if the ID refers to load case category element, false otherwise.

Remarks

Exceptions

Exception Condition
Autodesk.Revit.Exceptions 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 →