Creates a pressure pipe network specified by name.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( Database database, string networkName )
VB
Public Shared Function Create ( database As Database, networkName As String ) As ObjectId
C++
public: static ObjectId Create( Database^ database, String^ networkName )
Parameters
- database Database
- Database in which the network is created.
- networkName String
- The name of the new pressure pipe network.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] | Thrown when the input string: 1. Includes any of these special symbols: '\', '"', ',', '/', ';', '?', '*', ':', '='. 2. Only contains whitespace. 3. The specified name is duplicated. |