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 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 →