SetBuildingConstructionOverride Method


Sets the Building Construction override for a ConstructionType.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2013

Syntax

C#
public void SetBuildingConstructionOverride(
	ConstructionType constructionType,
	bool override
)
Visual Basic
Public Sub SetBuildingConstructionOverride ( _
	constructionType As ConstructionType, _
	override As Boolean _
)
Visual C++
public:
void SetBuildingConstructionOverride(
	ConstructionType constructionType, 
	bool override
)

Parameters

constructionType
Type: Autodesk.Revit.DB.AnalysisConstructionType
The ConstructionType to override.
override
Type: SystemBoolean
True to use analytical construction properties specified in Constructions.xml in the given ConstructionType, false otherwise.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The ConstructionType is invalid.

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 →