The CivilDocument class. This is the root object for accessing settings, styles, and C3D entities, Alignment etc.

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

Syntax

C#
public sealed class CivilDocument : DisposableWrapper
Visual Basic
Public NotInheritable Class CivilDocument _
	Inherits DisposableWrapper
Visual C++
public ref class CivilDocument sealed : public DisposableWrapper

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
  System..::..MarshalByRefObject
    DisposableWrapper
      Autodesk.Civil.ApplicationServices..::..CivilDocument

See Also