Revit 2020.1 API |
MEPSpaceConstruction..::..NewConstruction Method |
MEPSpaceConstruction Class See Also |
Create a new construction for Space constructions.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Syntax
C# |
---|
public MEPBuildingConstruction NewConstruction( string pName ) |
Visual Basic |
---|
Public Function NewConstruction ( _ pName As String _ ) As MEPBuildingConstruction |
Visual C++ |
---|
public: MEPBuildingConstruction^ NewConstruction( String^ pName ) |
Parameters
- pName
- Type: System..::..String
The name of the new Construction.
Remarks
If the name is same as an existing one, an exception will be thrown.