(form "20049" (position 10 2) (size 60 22)
  (heading "BLOCK MODEL SUMMARY")

  (label (position  2  3) (text "Model name"))
  (label (position  2  5) (text "Description"))
  (label (position  2  7) (text "Origin"))
  (label (position 14  7) (text "Y"))
  (label (position 28  7) (text "X"))
  (label (position 42  7) (text "Z"))
  (label (position  2  8) (text "Extent"))
  (label (position 14  8) (text "Y"))
  (label (position 28  8) (text "X"))
  (label (position 42  8) (text "Z"))
  (label (position  2  9) (text "Block Size"))
  (label (position 14  9) (text "Y"))
  (label (position 28  9) (text "X"))
  (label (position 42  9) (text "Z"))
  (label (position  2  10) (text "Rotation"))
  (label (position 10  10) (text "Bearing"))
  (label (position 25  10) (text "Dip"))
  (label (position 39  10) (text "Plunge"))
  (label (position  2 12) (text "Block Resolution"))
  (label (position  2 13) (text "Max. Resolution"))
  (label (position 31 12) (text "Total No. Blocks"))
  (label (position 28 13) (text "Storage Efficiency %"))
  (label (position  2 15) (text "Attributes"))
  (field "modname" (position 16  3) (display_length 12)
    (input disallowed) (max_length 512))
  (field "description" (position 16  5) (display_length 35) (input disallowed)
    (null allowed) (max_length 500))
  (field "yorg" (position 16  7) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "xorg" (position 30  7) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "zorg" (position 44  7) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "yext" (position 16  8) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "xext" (position 30  8) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "zext" (position 44  8) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "yblk" (position 16  9) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "xblk" (position 30  9) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "zblk" (position 44  9) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "ymin" (position 16  9) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "xmin" (position 30  9) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "zmin" (position 44  9) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "bearing" (position 16  10) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    (decimals 3))
  (field "plunge" (position 44  10) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    (decimals 3))
  (field "dip" (position 30  10) (display_length 8) (input disallowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    (decimals 3))

 (field "blocks" (position 45 12) (display_length 5) (input disallowed)
    (translate upper) (format integer_4) 
    (null disallowed) (max_length 16))
 (field "factor" (position 45 13) (display_length 5) (input disallowed)
    (null disallowed) (max_length 16))

  (scroll_block "attrib_list" (position 2 16) (size 50 3)
    (extra  0  1)
    (scroll_size 80 60)
    (repeat interactive (grow  0  1) (instances  1 (min  1) (max 200)))
    (top
      (label (position  1 0) (text "Name"))
      (label (position 14 0) (text "Type"))
      (label (position 25 0) (text "Decimals"))
      (label (position 33 0) (text "Background"))
      (label (position 45 0) (text "Description/Expression"))
    )

    (main
      (field "att_name" (position  1  0) (display_length  12) 
        (input disallowed)
        (null allowed) (max_length "BM_MAX_ATT_NAME_LEN"))
      (field "att_type" (position  14  0) (display_length  7) 
        (input disallowed)
        (null allowed) (max_length 20))
      (field "att_decimals" (position  25  0) (display_length  5) 
        (input disallowed)
        (null allowed))
      (field "att_bkgrd" (position  33  0) (display_length  10) 
        (input disallowed)
        (null allowed)
        (decimals 3) (max_length 50))
      (field "att_desc" (position  45  0) (display_length  30) 
        (input disallowed)
        (null allowed) 
        (max_length 512)
      )
    )
  )
  (field "save_summary" (position 46 5) (display_length 1)
    (input allowed)
    (translate upper)
    (value_in "Y" "N"
    )
    (default "N")
    )
  (label (position  47 0) (text "Enter the name of the report to save"))
  (field "report_name" (position 47  10) (display_length 38) (input allowed)
    (max_length 40) (null allowed)
    (file (extension "*.not *.csv *.htm *.html *.rtf *.pdf *.ps")))
  (label (position  48 0) (text "Format"))
  (field "format_type" (position 48  10) (display_length  50) (input allowed)
    (value_in ".not - Surpac Note File"
              ".csv - Comma Separated (Spreadsheet)"
              ".htm - Hypertext Markup Language (Web)"
              ".html - Hypertext Markup Language (Web)"
              ".rtf - Rich Text Format (Microsoft Word)"
              ".pdf - Adobe Acrobat"
              ".ps - Postscript")
    (null disallowed)
    (max_length 50)
    )
  (default_buttons)
)
