Gets the CivilDocument object from the AutoCAD Database object.

Namespace: Autodesk.Civil.ApplicationServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 11.0.641.0

Syntax

C#
public static CivilDocument GetCivilDocument(
	Database database
)
Visual Basic
Public Shared Function GetCivilDocument ( _
	database As Database _
) As CivilDocument
Visual C++
public:
static CivilDocument^ GetCivilDocument(
	Database^ database
)

Parameters

database
Type: Database
The AutoCAD Database object.

Return Value

The CivilDocument associated with the specified AutoCAD database; It will reutrn nullptr when the input database is nullptr.

See Also