The CivilApplication class. This is the base class used to access CivilDocument.

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

Syntax

C#
public sealed class CivilApplication
Visual Basic
Public NotInheritable Class CivilApplication
Visual C++
public ref class CivilApplication sealed

Remarks

Use the CivilApplication object to get the current document, or to determine what application version is running.

Examples

CopyC#
1// get first profile of first alignment in document
2ObjectId alignID = doc.GetAlignmentIds()[0];
3Alignment oAlignment = ts.GetObject(alignID, OpenMode.ForRead) as Alignment;

Inheritance Hierarchy

System..::..Object
  Autodesk.Civil.ApplicationServices..::..CivilApplication

See Also