#  This macro imports a breakdown of any number of horizontal and vertical units
#
#  Note:  to use this macro, you must first re-register the raster to
#  the corners of the area to be broken-down.  The breakdown is proportional
#  and has points and extention lines. After the breakdown is imported,
#  the raster should be re-registered to the original corners.
#

prompt 10 Enter the number of VERTICAL divisions for the main area (1 or more).
prompt 11 Enter the number of HORIZONTAL divisions for the main area (1+).
prompt 12 Enter the number of divisions of overrun outside the main area (0+).
prompt 13 Enter the level number on which you want this data imported (35-95).
register 10 i1=0 0 i2=0 1 i3=1 1 i4=1 0
execute -s rm $config.import_path/break
execute -s breakdown $prompt10 $prompt11 $prompt12 > $config.import_path/break
import xy break $prompt13 10 3 1 1 0 0 2 0 0 3 0 0
