Representation of a roadway. A Roadway follows a 3D path defined by a baseline, and is made up of cross sections (AppliedAssembly) and feature lines (FeatureLine) connecting common points in each cross section.
Inheritance Hierarchy
SystemObjectSystemMarshalByRefObject
DisposableWrapper
RXObject
Drawable
DBObject
Entity
Curve
Entity
Autodesk.Civil.DatabaseServicesEntity
Autodesk.Civil.DatabaseServicesCorridor
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public sealed class Corridor : Entity
VB
Public NotInheritable Class Corridor Inherits Entity
C++
public ref class Corridor sealed : public Entity
The Corridor type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Application |
Gets the Application. Not currently implemented.
(Inherited from Entity) |
![]() ![]() | Baselines | Gets the collection of baselines in the corridor. |
![]() | CodeSetStyleId | Gets or sets the style of the corridor's code set by ObjectId. |
![]() ![]() | CodeSetStyleName | Gets or sets the style name of the corridor's code set. |
![]() ![]() | CorridorSurfaces | Gets the collection of corridor surfaces in the corridor. |
![]() | Description |
Gets or sets the Entity object's description.
(Inherited from Entity) |
![]() | DisplayName |
Gets the Entity object's display name.
(Inherited from Entity) |
![]() | Document |
Gets the Document. Not currently implemented.
(Inherited from Entity) |
![]() ![]() | FeatureLineCodeInfos | Gets the feature line code information collection for the corridor. |
![]() | FingerPrint |
Gets or sets FingerPrint of the Entity.
(Inherited from Entity) |
![]() | FolderId |
Gets the folder ObjectId of the Entity
Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity) |
![]() | IsCWSReferenceObject |
Gets whether the Entity is a Civil Worksharing reference object. A Civil Worksharing reference object is
a Civil object shared to Shared Space. It is not editable. But it can be updated to the new version in the Shared Space.
(Inherited from Entity) |
![]() | IsCWSSourceObject |
Gets whether the Entity is a Civil Worksharing source object. A Civil Worksharing source object is
a Civil object shared to Shared Space. It is editable and can be updated to Shared Space.
(Inherited from Entity) |
![]() ![]() | IsOutOfDate | Indicates whether the corridor is out-of-date. A corridor becomes out-of-date (needs to be re-built) when changes have been made to its dependent components, such as baselines, profiles, or dependent surfaces. |
![]() | IsPartialReferenceObject |
Gets whether the surface is partial reference surface.
(Inherited from Entity) |
![]() | IsReadOnlyReferenceObject |
Gets whether the Entity is a readonly reference object. A readonly reference object is
either a data shortcut referece object or a Civil Worksharing reference object.
(Inherited from Entity) |
![]() ![]() | IsReferencedSourceExisting |
For reference object (IsReferenceObject == true), it will try to get its source entity while opening a drawing.
This indicates whether the reference object has source entity.
(Inherited from Entity) |
![]() | IsReferenceObject |
Gets whether the Entity is a reference object. A reference object is
located in another drawing, and linked using a data shortcut or Vault.
If the entity is native to the current drawing this property returns false;
if it is being referenced via data shortcuts or AutoCAD Vault it returns true.
(Inherited from Entity) |
![]() | IsReferenceStale |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity) |
![]() | IsReferenceSubObject |
For reference objects (IsReferenceObject == true), gets whether the Entity is a reference subobject.
For example, when iterating through the structure of a pipe network referenced from another drawing,
this property is true for each entity.
(Inherited from Entity) |
![]() | IsReferenceValid |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity) |
![]() | IsUsed |
Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity) |
![]() ![]() | MaximumTriangleSideLength | Gets or sets the maximum length of the corridor surface's triangle side. |
![]() | Name |
Gets or sets the Entity object's name.
(Inherited from Entity) |
![]() ![]() | RebuildAutomatic | Gets or sets the automatic rebuild mode for the corridor. |
![]() ![]() | RegionLockMode | Gets or sets the corridor's region lock mode. |
![]() | ShowToolTip |
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity) |
![]() ![]() | SlopePatterns | Gets the slope pattern collection for the corridor. |
![]() | StyleId |
Sets the Corridor's style Id.
(Overrides EntityStyleId) |
![]() | StyleName |
Sets the Corridor's style name.
(Overrides EntityStyleName) |
Methods
Name | Description | |
---|---|---|
![]() | ComputeFingerPrint |
Compute FingerPrint of the Entity.
(Inherited from Entity) |
![]() | ExportFeatureLinesAsCogoPoints(String, CorridorPointCodeSelector) | Exports the corridor feature lines indicated by the specified codes collection as COGO points. |
![]() | ExportFeatureLinesAsCogoPoints(String, CorridorPointCodeSelector, ValueType) | Exports corridor feature lines as COGO points. |
![]() ![]() | ExportSolids | Export solids from the corridor and save to target database. |
![]() | GetLinkCodes | Gets all link codes of the corridor. |
![]() | GetPointCodes | Gets all point codes of the corridor. |
![]() ![]() | GetReferenceInfo |
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity) |
![]() | GetShapeCodes | Gets all shape codes of the corridor. |
![]() | GetTargets | Gets the targets information. The returned object can be modified and passed to SetTargets() to update a corridor's subassembly targets information. |
![]() | Rebuild | Forces the corridor to rebuild. |
![]() ![]() | SetTargets | Sets the target information. The updatedTargets parameter is a SubassemblyTargetInfoCollection object that should be obtained from the GetTargets() method. |
Remarks
A corridor in Civil 3D represents a path, such as a road, trail, railroad, or airport runway. The geometry of a corridor is defined by a horizontal Alignment and a Profile. Together, these form the baseline - the centerline of the 3D path of the Corridor.
Along the length of the baselines is a series of Assembly objects, which define the cross-sectional shape of the Alignment. Common points in each Assembly are connected to form feature lines ( FeatureLine objects). Together the assemblies and feature lines form the 3D shape of a corridor.