Gets the offset baseline FeatureLine collection.

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

Syntax

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

Examples

CopyC#
 1// Get all the offset feature lines:
 2foreach (BaselineFeatureLines oBaselineFeaturelines in oBaseline.OffsetBaselineFeatureLinesCol)
 3{
 4    foreach (FeatureLineCollection oFeatureLineCollection in oBaselineFeaturelines.FeatureLineCollectionMap)
 5    {
 6        ed.WriteMessage("Feature Line Collection\n# Lines in collection: {0}\n",
 7        oFeatureLineCollection.Count);
 8        foreach (Autodesk.Civil.DatabaseServices.CorridorFeatureLine oFeatureLine in oFeatureLineCollection)
 9        {
10            ed.WriteMessage("Feature line code: {0}\n", oFeatureLine.CodeName);
11            // print out all point locations on the feature line
12            foreach (FeatureLinePoint oFeatureLinePoint in oFeatureLine.FeatureLinePoints)
13            {
14                ed.WriteMessage("Point: {0},{1},{2}\n",
15                    oFeatureLinePoint.XYZ.X,
16                    oFeatureLinePoint.XYZ.Y,
17                    oFeatureLinePoint.XYZ.Z);
18            }
19
20        }
21
22    }
23}

See Also