PointGroupElevationOverride Property

Gets the elevation override information for points in the PointGroup.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1190
Syntax
public PointGroupElevationOverrideInfo ElevationOverride { get; }

Property Value

PointGroupElevationOverrideInfo
Example
 1if (pointGroup.IsElevationOverridden)
 2{
 3    write("PointGroup elevation is overridden.\n");
 4    PointGroupElevationOverrideInfo elevationOverrideInfo = pointGroup.ElevationOverride;
 5    switch (elevationOverrideInfo.ActiveOverrideType)
 6    {
 7        case PointGroupOverrideType.FixedValue:
 8            write(String.Format(" - Elevation override type: fixed \n   value: {0}\n",
 9                elevationOverrideInfo.FixedElevation));
10            break;
11        case PointGroupOverrideType.UserDefinedProperty:
12            write(String.Format(" - Elevation override type: UDP \n   UDP name: {0}\n",
13                elevationOverrideInfo.UDP.ClassificationName));
14            break;
15        case PointGroupOverrideType.XDRef:
16            ObjectId xdrefId = elevationOverrideInfo.XDRefId;
17            write(" - Elevation override type: XDRef ");
18            break;
19        default:
20            break;
21    }
22}
See Also