Revit 2026 API
MEPBuilding |
Sets the Building Construction of the Project Information.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetBuildingConstruction( ConstructionType constructionType, Construction buildingConstruction )
Public Sub SetBuildingConstruction ( constructionType As ConstructionType, buildingConstruction As Construction )
public: void SetBuildingConstruction( ConstructionType constructionType, Construction^ buildingConstruction )
member SetBuildingConstruction : constructionType : ConstructionType * buildingConstruction : Construction -> unit
Parameters
- constructionType ConstructionType
- The Construction Type of Building Construction.
- buildingConstruction Construction
- The Building Construction to be set.

Exception | Condition |
---|---|
ArgumentNullException | buildingConstruction is NULL. |
InvalidOperationException | Sets construction type to an invalid value. - or - Can not set construction type. |

This function is used to set the Building Construction of the Project Information.
See Also