Represents the collection of Corridor objects in the drawing.
Inheritance Hierarchy
SystemObject[T:Autodesk.Civil.CivilWrapper<AcDbDatabase>]
Autodesk.Civil.DatabaseServicesCorridorCollection
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public sealed class CorridorCollection : [T:Autodesk.Civil.CivilWrapper<AcDbDatabase>], IEnumerable<ObjectId>
VB
Public NotInheritable Class CorridorCollection Inherits [T:Autodesk.Civil.CivilWrapper<AcDbDatabase>] Implements IEnumerable(Of ObjectId)
C++
public ref class CorridorCollection sealed : public [T:Autodesk.Civil.CivilWrapper<AcDbDatabase>], IEnumerable<ObjectId>
The CorridorCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Count | Gets the number of Corridors in the drawing / collection. | |
| ItemInt32 | ||
| ItemString |
Methods
| Name | Description | |
|---|---|---|
| Add(String) | Creates a new, empty Corridor. | |
| Add(String, String, ObjectId) | Creates a new Corridor object with given corridor name, baseline name and feature line. | |
| Add(String, String, ObjectId, ObjectId) | Creates a new Corridor corridor object. | |
| Add(String, String, ObjectId, String, ObjectId) | Creates a new Corridor object with given corridor name, baseline name, feature line, baseline region name and assembly. | |
| Add(String, String, ObjectId, ObjectId, String, ObjectId) | Creates a new Corridor object. | |
| GetEnumerator | Implements the method declared in the IEnumerable<T> interface. | |
| GetObjectEnumerator | Implements the method declared in the IEnumerable interface. | |
| RebuildAll | Rebuild all corridors in the current database. |
Remarks
Exposed by the CivilDocument class through the CorridorCollection property, this class provides an interface to create, access, and remove Corridor objects.
See Also
Reference
Corridor object
