AccuGlobe Desktop 2007 Digital Data Technologies, Inc.

Getting Started With Scripts

AccuGlobe has a full Python based scripting engine available for all users. Using scripting users can add their own tools to accomplish tasks in an automated manner. The script engine exposes the full .NET framework as well as the full object model of the AccuGlobe Map Engine. The map object can be referenced using the object name ActiveMap. Please visit our website and forums as more samples will be posted.

Steps For Creating A Script

  1. Click on the Tools menu.
  2. Click on Scripts.
  3. The Script Editor dialog will display.
  4. Type in the script into the main window.
  5. Click on the Options menu.
  6. To immediately run the script click the Execute button.
  7. Optionally the script can be set to run from a tool on the main AccuGlobe toolbar. To do this click on the Options menu and select Attach Script To Toolbar option.


Steps To Save A Script To File

  1. From the Script Editor dialog click on the File menu.
  2. Click on Save.
  3. The Save As dialog will display. Browse to a location on the hard drive to save the file, enter a filename, and click the Save button.


Steps To Open An Existing Script File

  1. From the Script Editor dialog click on the File menu.
  2. Click on Open.
  3. The Open dialog will display. Browse to a location on the hard drive to load the file the file from. Click on the file and click the Open button.