Creates a pipe network specified by name.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.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

ExceptionCondition
System..::..ArgumentException Thrown when the input string:
  1. Includes any of these special symbols: '\', '"', ',', '/', ';', '?', '*', ':', '='.
  2. Only contains whitespace.

See Also