Create Method

Creates a new site.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0

Syntax

C#

public static ObjectId Create(
	CivilDocument document,
	string siteName
)

Visual Basic

Public Shared Function Create ( _
	document As CivilDocument, _
	siteName As String _
) As ObjectId

Visual C++

public:
static ObjectId Create(
	CivilDocument^ document, 
	String^ siteName
)

Parameters

document
Type: Autodesk.Civil.ApplicationServices.CivilDocument
Document object in which the site is created.
siteName
Type: System.String
Name of the new site.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the the siteName is used by a existing site.

See Also