CivilDocument Class

The CivilDocument class. This is the root object for accessing settings, styles, and C3D entities, Alignment etc.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      Autodesk.Civil.ApplicationServicesCivilDocument

Namespace: Autodesk.Civil.ApplicationServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public sealed class CivilDocument : DisposableWrapper

The CivilDocument type exposes the following members.

Properties
 NameDescription
Public propertyAssemblyCollection Gets the ObjectId collection of Assembly objects in the drawing.
Public propertyCogoPoints Gets the collection of all CogoPoints in the drawing.
Public propertyCorridorCollection Gets the ObjectId collection of Corridor objects in the drawing.
Public propertyCorridorState Gets the CorridorState object, which is used for the creation of custom subassemblies.
Public propertyIsCorridorSectionViewActive Returns true if the corridor section view is active in the current document.
Public propertyIsDriveActive Returns true if the corridor section view is active in the current document.
Public propertyIsSectionEditorCorridorReferenceObject Returns true if the corridor edited in corridor section view is reference corridor.
Public propertyNetworkState Gets the drawing's PipeNetworkState object.
Public propertyParcelUDPClassifications Gets the collection containing all Parcel user defined property classifications in the drawing.
Public propertyParcelUDPs Gets the collection containing all Parcel user defined properties in the drawing.
Public propertyPointGroups Gets the collection of all PointGroups in the drawing.
Public propertyPointUDPClassifications Gets the collection of all CogoPoint user defined property classifications in the drawing.
Public propertyPointUDPs Gets the collection containing all CogoPoint user defined properties in the drawing.
Public propertySettings Gets the root object for Civil 3D settings.
Public propertyStyles Gets the root object for Civil 3D styles.
Public propertySubassemblyCollection Gets the ObjectId collection of SubAssembly objects in the drawing.
Top
Methods
 NameDescription
Public methodCode exampleGetAlignmentIds Gets the objectId collection of all Alignment objects in the drawing.
Public methodGetAlignmentTableIds Gets the objectId collection of all alignment tables.
Public methodGetAllPointIds Gets the objectId collection of all points in the drawing.
Public methodGetBridgeIds Gets the objectId collection of all bridge objects in the drawing.
Public methodGetCatchmentGroups Gets the objectId collection of all catchment group objects in the drawing.
Public methodStatic memberGetCivilDocument Gets the CivilDocument object from the AutoCAD Database object.
Public methodGetGeneralSegmentLabelIds Gets the objectId collection of all GeneralSegmentLabel objects in the drawing.
Public methodGetIntersectionIds Gets the objectId collection of all intersection objects in the drawing.
Public methodGetLegendTableIds Gets the objectId collection of legend tables.
Public methodGetNoteLabelIds Gets the objectId collection of all NoteLabel objects in the drawing.
Public methodGetParcelSegmentTableIds Gets the objectId collection of parcel segment tables.
Public methodGetParcelTableIds Gets the objectId collection of parcel tables.
Public methodGetPipeNetworkIds Gets the pipe network object id collection.
Public methodGetPointTableIds Gets the objectId collection of point tables.
Public methodGetSiteIds Gets the objectId collection of all site objects in the drawing.
Public methodGetSitelessAlignmentId Gets the objectId of a siteless Alignment object by name.
Public methodGetSitelessAlignmentIds Gets the objectId collection of all siteless Alignment objects in the drawing.
Public methodGetSitelessFeatureLineIds Gets the objectId collection of all siteless FeatureLine objects in the drawing.
Public methodCode exampleGetSurfaceIds Gets the objectId collection of all surface objects in the drawing.
Public methodGetViewFrameGroupIds Gets the objectId collection of all view frame groups in the drawing.
Top
Extension Methods
 NameDescription
Public Extension MethodGetPressureNetworkIdFromPipeRunPath Gets object id of pressure network from the object id of pipe run path.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodGetPressureNetworkIdFromPipeRunProfile Gets object id of pressure network from the object id of pipe run profile.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodGetPressurePipeNetworkIds Returns an ObjectIdCollection containing the ObjectId's of all the PressurePipeNetwork objects in the drawing.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodIsPressurePlanLayoutActive Returns true if the pressure plan layout mode is active in the current document.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodIsPressurePlanLayoutByPathActive Returns true if the pressure plan layout by path mode is active in the current document.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodIsPressureProfileLayoutActive Returns true if the pressure profile layout mode is active in the current document.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodIsPressureProfileLayoutByPathActive Returns true if the pressure profile layout by path mode is active in the current document.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodSetPressurePlanLayoutActive Sets pressure plan layout mode active in the current document.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodSetPressurePlanLayoutByPathActive Sets pressure plan layout by path mode active in the current document.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodSetPressureProfileLayoutActive Sets pressure profile layout mode active in the current document.
(Defined by CivilDocumentPressurePipesExtension)
Public Extension MethodSetPressureProfileLayoutByPathActive Sets pressure profile layout by path mode active in the current document.
(Defined by CivilDocumentPressurePipesExtension)
Top
Example
C#
1!ERROR: See log file!
See Also