Enable editing for PolylineM shapefiles

Last Published: April 25, 2020


Before you begin, please be aware that the procedure outlined in the following document is not supported. The only supported method of enabling editing on 3D shapefiles is using 3D Analyst extension. The steps below explain how to customize the system script 'View.ToggleEditingUpdate' so that you are able to start editing on PolylineM shapefiles.


  1. Open a new script window.

    A. Activate the Project window.
    B. Click the Scripts icon.
    C. Click New.

  2. Click Script > Load System Script. Navigate to the View.ToggleEditingUpdate script and click OK.
  3. Add the text. . .

    or (clsName = "PolylineM")

    to the following line of code . . .

    if ((clsName = "Point") or (clsName = "PolyLine") or (clsName = "Polygon") or (clsName = "GeoEvent")) then

    The resulting code should look like. . .

    if ((clsName = "Point") or (clsName = "PolyLine") or (clsName = "Polygon") or (clsName = "PolyLineM") or (clsName = "GeoEvent")) then

  4. Click on Script > Compile.
  5. Rename the script View.ToggleEditingUpdate.

    A. Select Properties from the Script menu.
    B. Type in a new name in the Name field.
    C. Click OK.

    Start Editing under the Theme menu will now be enabled.

Article ID:000002888

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic