Autodesk.Revit.DB.Mechanical.MEPBuildingConstruction
是Revit中的一个类,用于描述建筑的机电工程(MEP)施工信息。
Autodesk.Revit.DB.Mechanical.MEPSolutionProperties
Autodesk.Revit.DB.Mechanical.MEPBuildingConstructionType
以下示例演示如何创建一个MEPBuildingConstruction
对象。
// 新建MEPBuildingConstruction对象
MEPBuildingConstruction buildingConstruction = new MEPBuildingConstruction();
// 设置SolutionProperties
MEPSolutionProperties solutionProperties = new MEPSolutionProperties();
solutionProperties.AirHandlingType = AirHandlingType.CleanRoom;
solutionProperties.ElectricalServiceType = ElectricalServiceType.Limited;
solutionProperties.FireProtectionType = FireProtectionType.Wet;
buildingConstruction.SolutionProperties = solutionProperties;
// 设置Type
MEPBuildingConstructionType buildingConstructionType = new MEPBuildingConstructionType();
buildingConstructionType.AirHandlingSystemType = AirHandlingSystemType.DedicatedOutdoorAir;
buildingConstructionType.PlumbingFixtureUnitType = PlumbingFixtureUnitType.AutomaticCompensating;
buildingConstructionType.VentilationType = VentilationType.Natural;
buildingConstruction.Type = buildingConstructionType;