Customizing ArcView 3'2 - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Customizing ArcView 3'2

Description:

Most menu commands are also available in Avenue code ... ArcView creates a new script called Script1 and opens a new script window for it ... – PowerPoint PPT presentation

Number of Views:45
Avg rating:3.0/5.0
Slides: 13
Provided by: frenchtown8
Category:

less

Transcript and Presenter's Notes

Title: Customizing ArcView 3'2


1
Customizing ArcView 3.2
1. Double click on the gray area right of the
buttons, or from the Project menu click
Customize ArcView displays the Customize
dialog The action for Click for the View menu
Add Themecommand is View.Add
2
Learn about available commands
  • Most menu commands are also available in Avenue
    code
  • Avenue is the special programming language for
    ArcView

1. From the Window menu, select the project
file 2. From the left-hand-side of the project
window, select Scripts 3. Click on the button
New
ArcView creates a new script called Script1 and
opens a new script window for it
3
Examine a system command
  • From the Script menu, select Load System
    Script. This displays a dialog that lists all
    available system scripts
  • From the Script Manager dialog, select the
    View.Add script, then click on the OK button

4
Avenue code for the View.Add system script
appears in the window
5
Compile and run your script
  • From the Script window, select Step (F8) or
    Run (F5)
  • Step stops after each section of the code
    Run continues
  • From the Script window, first select Compile
  • This makes sure the code is valid

6
The new script adds a theme
7
Add a new menu
  • Add a new menu called My Custom Commands
  • From the Customize dialog, select Menus and click
    New
  • Double-click on Label to enter your menu name

8
Add a new menu item
  • Click on New Item
  • Double-click on Label and add your menu item
    name
  • Double-click on Click and from the Script
    Manager, add add an existing script, such as
    View.Add

9
Use your new menu item
  • Now you can call your own routines from your own
    menu names

10
Add custom buttons
  • Launch the Customize dialog (double-click in the
    gray area next to the buttons)
  • Select the Category Buttons
  • Click New
  • The new button appears in its position on the
    button bar

11
Change the button icon
  • Double-click on the Icon section
  • The Icon Manager dialog appears
  • Choose the icon for your new button
  • Click OK
  • The button is updated

12
Associate this button with a command
  • Double-click on Click
  • From the Script Manager, select the command
    associated with this button
  • Test it by clicking on your new button
Write a Comment
User Comments (0)
About PowerShow.com