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.484.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