Creates a pipe network specified by name.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public static ObjectId Create( CivilDocument document, ref string networkName )
Visual Basic
Public Shared Function Create ( _ document As CivilDocument, _ ByRef networkName As String _ ) As ObjectId
Visual C++
public: static ObjectId Create( CivilDocument^ document, String^% networkName )
Parameters
- document
- Type: Autodesk.Civil.ApplicationServices.CivilDocument
CivilDocument object in which the network is created.
- networkName
- Type: System.String%
The name of the new pipe network. If the name is duplicated, it is changed to a new name (see remarks below).
Remarks
If the name (such as "abc") is a duplicate of an existing network, the name is changed to "abc (n)".
The value of n is an integer that increments until the name "abc (n)" is unique.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when the input string:
|