English

How To: Enable editing for PolylineM shapefiles

Summary

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.

Procedure

  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. . .

    Code:
    or (clsName = "PolylineM")

    to the following line of code . . .

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

    The resulting code should look like. . .

    Code:
    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.



    Note:
    Start Editing under the Theme menu will now be enabled.