titlebar
News scripts geotools links contact




ArcObjects Scripts

All scripts were written with VB6 using ArcObjects and were tested in ArcInfo 8.2 running on Windows 2000.
Please visit the news page to view the most recent additions. In-depth installation instructions can be found here.

3D

BlockDiagram v1.1
download
This is a script for ArcScene that allows GRIDs or TINs to be displayed as solid block models or fence diagrams. The output is a multipatch shapefile. Several new features have been added, including the ability to create fence diagrams or use a polygon featureclass as the block model extents.

Analysis

FindArea
download
This tool allows the user to digitize a polygon on-screen. The user is then returned the area of the polygon. The polygon will remain in the view until the map is refreshed.
MinimumBoundingCircle
download
Constructs the minimum bounding circles of the selected polygon features. The output can be saved as a shapefile or added as graphics to the map. Overlapping output circles can be either left as-is or unioned with adjoining circles.
Unique
description download
User chooses a layer and field and is presented with the field's unique values. Features can also be selected using the dialog.

Document

AutoSave
download
Automatically saves the current MXD every five minutes. The MXD is saved to a different directory and filename rather than overwriting the open file. If ArcMap crashes and a save hasn't been made in a while, the AutoSaved document can then be retrieved.
BackupMXD
download
Creates a single backup of the current MXD. The MXD is saved with a date/time stamp appended to the filename.

Editing

SplitAtPoint
download

This tool will split the selected line at the point clicked. If the point selected does not lie on the line, the closest point on the line will be used as the split.

The tool is disabled until a single line is selected in an edit session.

Map Production

CopyLayers
download
Opens a dialog that allows multiple layers to be copied from dataframe to dataframe.
MaskAnno
download

MaskAnno will change the halo colors of all text elements in the current anno target to match that of the polygon feature or background behind it. The point used to search for the background color is in the center of the text, so care must be taken when the text lies directly on the boundary of two different symbologies.

This script is especially useful when trying to mask contours beneath elevation text.
MultilineLegendText
download
Update This tool allows the user to create legends with multiline text. The selected layer's name, headings, and labels are displayed in the form window where they may be altered to lie on one or more lines.
UngroupLayers
download
The user is presented a list of the group layers in the activated dataframe. The selected group layer is then ungrouped.
UniformLegendText
download
When layers are added to a map that already has an associated legend, the label sizes of these new layers may be different than the others. This script allows the labels to be quickly changed to a uniform size. The user is presented with a list of the legend's existing font sizes. The desired size is then chosen from this list.

Misc

ViewLog
download
Displays the logfile for the coverage selected in the table of contents.

Tools

SelectAndIdentify
download
Left-click is used like the Select Elements tool; right-click is used like the Identify tool. Context menu is unavailable. Tool is useful for QCing annotation in tight locations like well fields (ArcMap doesn't always choose the most intuitive locations for anno).
SelectPoly
download
Works just like the 'Select Features' tool, but uses a polygon instead of a rectangle.

Feel free to email if you need any additional information on the above tools.

If you wish to be informed when this site is updated, visit the update notification page.