Listing Baseline Regions

The collection of all the regions of a baseline are contained in the Baseline.BaselineRegions property.

The AutoCAD Civil 3D API does not include methods for creating new baseline regions, or manipulating existing regions.

The following sample displays the start and end station for every baseline region in a baseline:

foreach (BaselineRegion oBaselineRegion in oBaseline.BaselineRegions)
{
    ed.WriteMessage(@"Baseline region information - 
  Start station : {0}
  End station   : {1}\n",                          
  oBaselineRegion.StartStation,
  oBaselineRegion.EndStation);
 
}