New Row Script

Top  Previous  Next

 

We will now do an example showing how the New Row Script feature works. I have a layer with polygons with the following columns in its layer data:

 

EVENTS~1_img12

 

EVENTS~1_img13

 

I have created a script that will cause the Area column to be populated with the area of the polygon whenever a new polygon is drawn (New Row):

 

EVENTS~1_img14

 

The new row column was entered in the script  using the Insert Column button and the area calculation was entered using the Insert Calculation button:

 

EVENTS~1_img15

 

EVENTS~1_img16

 

I will now draw a new polygon to this layer and the script will run and the area will be populated in the new row:

 

EVENTS~1_img17

 

EVENTS~1_img18