How To: Enable editing for PolylineM shapefiles
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.
- Open a new script window. A. Activate the Project window.
B. Click the Scripts icon.
C. Click New.
- Click Script > Load System Script. Navigate to the View.ToggleEditingUpdate script and click OK.
- 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
- Click on Script > Compile.
- 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.