Category Archives: VB Scripts for ArcMap

Finding Polygon Extents and Adding them to a Table Via ArcMap and Field Calculator

This code is specific to ArcGIS 9.3.1 and has not been tested with ArcGIS 10. The code returns the extents of all polygon and polyline features and places them in newly created fields. This is particularly useful when working with ArcEngine to code locational searches based on attribute extents. Follow the instructions below and cut-and-paste...

View full post »

Finding Duplicate Values In a Table

This code is specific to ArcGIS 9.3.1 and has not been tested with ArcGIS 10. There are many circumstances when the need to identify duplicate values will come up. The following script is what we use to do so. As per all scripts, cut and paste this into the ArcMap Field Calculator. The code will...

View full post »