Stuff! Extension Documentation

9/2/98


When the Stuff! extension is loaded, it checks for the existence of each of the controls and scripts below before installing it. The extension then automatically unloads itself, leaving the controls and scripts in place.

Controls and scripts need to be removed manually from a project. Warning: all extensions should be unloaded before customizing a project's GUI; otherwise, their controls will become part of the project and may be duplicated when the extension is reloaded!

The Stuff! extension comes with the following controls:

Projects:

Views: Layouts: The extension adds the following scripts to the project:
Doc.Clone
View.LegendTextItem
View.CopyView
View.CopyView.Update
View.Mask
View.GeoRefImage
View.ImageThemesUpdate
Graphic.AddArrowhead
Graphic.Duplicate
Graphic.IsOneLine
Layout.LegendTextSize
Layout.LegendTSUpdate
Layout.PutTextFile
Layout.Scalebar
Layout.ScalebarUpdate
Layout.UnselectAllGraphics
The extension assumes that the following scripts are already present in the project:
Project.Open
View.ActiveThemesUpdate
Graphic.HasSelectionUpdate

USING THE "PROJECT|COPY" MENU ITEM

When the menu entry is clicked, a copy of each of the selected document(s) will be added to the project.


USING THE "THEME|LEGEND TEXT ITEM" MENU ITEM

One theme should be active, and must be an FTheme. After clicking the menu entry, a dialog will appear listing the available items. If a one-to-many relationship exists between the legend's value field and the label field, the first value encountered will be used.


USING THE COPYVIEW BUTTON
  1. Go to the desired source view and click the CopyView button (both source and destination views must have defined map units).
  2. If the button has been used earlier in the session, a dialog will appear asking "Paste extent and scale?"; click "No".
  3. Reply "Yes" to the "Copy extent and scale?" dialog.
  4. Go to the desired destination view and click the button again.
  5. This time, reply "Yes" to the "Paste extent and scale?" dialog.
  6. As long as the clipboard is not used for other purposes (e.g. copying themes), you may paste to as many views as you wish. Typically, one would copy desired themes to all views first, then copy position.

USING THE MASK BUTTON
  1. Invoke the Palette Manager (Control-P) and set the desired properties for fill and outline (usually white, no outline).
  2. Select the feature to represent the mask.
  3. Click the Mask button. The graphic will be selected after it's created.

USING THE IMAGE REGISTRATION TOOL
  1. Enable the tool by making the image the active theme.
  2. Zoom to the first of the two points to georeference.
  3. Activate the tool by clicking on its icon.
  4. Click on the desired point and hit the "OK" button.
  5. Go to the next of the two points to georeference.
  6. Repeat step 3 and click on the desired second point.
  7. A message box will appear, asking if you wish to use the current point to complete the rectangle. If you reply "No", the point will displace the first point, and another point will need to be collected to complete the rectangle.
  8. Enter the desired X and Y coordinates of the two points in the dialog box that appears and hit "OK".
  9. This process may be repeated as often as you like until you find two points that give you the best result.
NOTE: This tool cannot be used to rotate or warp images. Results will be best if you georeference according to the projection of the image. For example, if you scanned a polyconic image and the coverages are in UTM, project the coverages to polyconic before bringing them into ArcView.


USING THE "EDIT|DUPLICATE" MENU ITEM

Clicking the menu item (or pressing Control-D) will duplicate any selected graphics in the layout, offsetting them by 0.125 page units and reselecting them.


USING THE CLEAR SELECTION BUTTON

Clicking the button will unselect any selected graphics in the layout.


USING THE TEXTSIZE BUTTON
  1. Select the legend frame for which you want to set the text size.
  2. Click the legend text size button.
  3. Enter the desired text size and click the OK button.

USING THE ARROWHEAD BUTTON
  1. Select the desired line.
  2. Click the arrowhead button.
  3. Enter the desired arrowhead size -- defaults are as follows:

    Layouts: size = line thickness x 10

    Views:

    (The defaults may be changed as desired by editing the script.)

  4. The arrowhead will be created as a polygon with no outline and solid fill with color equal to that of the line -- the arrowhead and line will automatically be grouped.
  5. To edit the arrowhead, ungroup and reselect it.

USING THE TEXTFILE TOOL
  1. Pick the tool.
  2. Point to the desired location of the lower left corner of the text and click once.
  3. Enter the filename. Text will not automatically wrap: the textfile must be preformatted with line breaks.

USING THE SCALEBAR TOOL
  1. Select the View Frame for which you want the scalebar.
  2. Pick the scalebar tool.
  3. Point to the desired location of the lower left corner of the scalebar and click once.
  4. Enter units, interval size, number of intervals, and number of left divisions (see the Help topic: "Scale bar frame tool" for more information). The default values are as follows:
The default style is "Split filled bar scale". This may be changed by double clicking the scalebar after it's created. The text font and size may be altered via the palette (Ctrl-P).


Enjoy!