The Esri_ElevateToField command invokes the Elevate to Field user interface (UI) that sets the elevation of selected features to the numeric field value of a specified field for each feature. The UI allows you to select the feature layer to modify. There is a reminder of the linear units for the selected feature layer. The Field Name parameter is used to specify the field values that will be used to set the elevation of the feature. The Field Units parameter is used to scale field values if they are different than the linear units of the coordinate system. Click Elevate to modify the selected features of the specified feature layer. Click Close to close the UI.
Usage
Keep the following in mind when using the Esri_ElevateToField command:
- Esri_ElevateToField is especially useful for modifying the elevations of 2D spot elevation and contour line features that have a field that contains the feature's elevation.
- The entities of selected entities of the specified feature layer will be modified. If no entities are selected, all of the entities of the specified feature layer will be modified.
- Point, polygon, polyline, and annotation feature layers are supported.
- Multipatch features are not supported.
- Only planar objects will be modified. Polylines and polygons with differing vertex elevations will be skipped.
-Esri_ElevateToField command
-Esri_ElevateToField invokes a command line equivalent of the Elevate to Field UI and elevates the selected entities of the specified feature layer to the numeric value of a given field. You can apply a scale factor to the field values if needed. Use a scale factor of 1.0 when the units of the field match the drawing units.
Command prompts
The following are -Esri_ElevateToField command prompts:
- Select feature layer: | Enter the index number of the feature layer to elevate by attribute value.
- Select a field as elevation: | Enter the index number of the feature attribute field.
- Enter a scale factor <1.0000>: | Enter the numeric scale factor to apply to the field values.