IsValidConceptualConstructionId Method


Indicates if the ElementId is an id of a ConceptualConstructionType.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2012

Syntax

C#
public static bool IsValidConceptualConstructionId(
	Document ccda,
	ElementId constructionTypeId
)
Visual Basic
Public Shared Function IsValidConceptualConstructionId ( _
	ccda As Document, _
	constructionTypeId As ElementId _
) As Boolean
Visual C++
public:
static bool IsValidConceptualConstructionId(
	Document^ ccda, 
	ElementId^ constructionTypeId
)

Parameters

ccda
Type: Autodesk.Revit.DBDocument
The document.
constructionTypeId
Type: Autodesk.Revit.DBElementId
The ElementId of the ConceptualConstructionType.

Return Value

Returns true if is an id of a ConceptualConstructionType, false otherwise.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException 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 →