Creates a pipe network specified by name.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
CivilDocument document,
ref string networkName
)
Public Shared Function Create (
document As CivilDocument,
ByRef networkName As String
) As ObjectId
public:
static ObjectId Create(
CivilDocument^ document,
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the input string:
- Includes any of these special symbols: '\', '"', ',', '/', ';', '?', '*', ':', '='.
- 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