Gets the surfaces collection for the corridor.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.0.1111.0

Syntax

C#
public CorridorSurfaceCollection CorridorSurfaces { get; }
Visual Basic
Public ReadOnly Property CorridorSurfaces As CorridorSurfaceCollection
	Get
Visual C++
public:
property CorridorSurfaceCollection^ CorridorSurfaces {
	CorridorSurfaceCollection^ get ();
}

Examples

CopyC#
 1// List surfaces
 2foreach (CorridorSurface oCorridorSurface in oCorridor.CorridorSurfaces)
 3{
 4    ed.WriteMessage("Corridor surface: {0}\n", oCorridorSurface.Name);
 5
 6    // Get the point codes for the surface.
 7    String[] oPointCodes = oCorridorSurface.PointCodes();
 8    ed.WriteMessage("Surface point codes:\n");
 9    foreach (String s in oPointCodes)
10    {
11        ed.WriteMessage("{0}\n", s);
12    }

See Also