IsValidSurfaceSubcategoryForConstruction Method


Conceptual Construction Type Is Valid Surface Subcategory For Construction Method

Indicates if this ConceptualConstructionType is appropriate for the input MassSurfaceData subcategory.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsValidSurfaceSubcategoryForConstruction(
	ElementId massSurfaceSubcategoryId
)

Parameters

massSurfaceSubcategoryId ElementId
The ElementId of a Mass subcategory of a MassSurfaceData.

Return Value

Boolean
Returns true if appropriate for the input subcategory, false otherwise.
Exceptions
Exception Condition
ArgumentException The input Element massSurfaceSubcategoryId is not a valid subcategory value for MassSurfaceData.
ArgumentNullException A non-optional argument was null
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 →