Creates a new site.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( CivilDocument document, string siteName )
VB
Public Shared Function Create ( document As CivilDocument, siteName As String ) As ObjectId
C++
public: static ObjectId Create( CivilDocument^ document, String^ siteName )
Parameters
- document CivilDocument
- Document object in which the site is created.
- siteName String
- Name of the new site.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the the siteName is used by a existing site. |