NetworkCreate Method

Creates a pipe network specified by name.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	CivilDocument document,
	ref string networkName
)

Parameters

document  CivilDocument
CivilDocument object in which the network is created.
networkName  String
The name of the new pipe network. If the name is duplicated, it is changed to a new name (see remarks below).

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when the input string:
  1. Includes any of these special symbols: '\', '"', ',', '/', ';', '?', '*', ':', '='.
  2. Only contains whitespace.
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.
See Also