Share

CorridorCollection Class

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

 NameDescription
Public propertyCount Gets the number of Corridors in the drawing / collection.
Public propertyItemInt32 
Public propertyItemString 

Methods

 NameDescription
Public methodCode exampleAdd(String) Creates a new, empty Corridor.
Public methodCode exampleAdd(String, String, ObjectId) Creates a new Corridor object with given corridor name, baseline name and feature line.
Public methodCode exampleAdd(String, String, ObjectId, ObjectId) Creates a new Corridor corridor object.
Public methodCode exampleAdd(String, String, ObjectId, String, ObjectId) Creates a new Corridor object with given corridor name, baseline name, feature line, baseline region name and assembly.
Public methodCode exampleAdd(String, String, ObjectId, ObjectId, String, ObjectId) Creates a new Corridor object.
Public methodCode exampleGetEnumerator Implements the method declared in the IEnumerable<T> interface.
Public methodGetObjectEnumerator Implements the method declared in the IEnumerable interface.
Public methodRebuildAll 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

Was this information helpful?