Gets the active CivilDocument object.

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

Syntax

C#
public static CivilDocument ActiveDocument { get; }
Visual Basic
Public Shared ReadOnly Property ActiveDocument As CivilDocument
	Get
Visual C++
public:
static property CivilDocument^ ActiveDocument {
	CivilDocument^ get ();
}

Return Value

The CivilDocument object.

Examples

CopyC#
1CivilDocument doc = CivilApplication.ActiveDocument;

See Also