Creates a new site.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
CivilDocument document,
string siteName
)
Public Shared Function Create (
document As CivilDocument,
siteName As String
) As ObjectId
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
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the the siteName is used by a existing site.
|
See Also