(form "BlastSolid" (size 1 1)
  (heading "Blast Solid")
  (field "outputLayer" 
    (position 1 1) 
    (display_length 20) 
    (input allowed)
    (null disallowed) 
    (max_length "APP_MAX_LAYER_NAME_LENGTH")
    )
  (field "blastPattern" 
    (position 1 1) 
    (display_length 10) 
    (input allowed)
    (null disallowed) 
    (max_length "APP_MAX_LAYER_NAME_LENGTH")
    )
  (field "rmc" 
    (position 1 1) 
    (display_length 10) 
    (input allowed)
    (null allowed) 
    (max_length "APP_MAX_LAYER_NAME_LENGTH")
    )
  (field "trimBlastSolid" 
    (position 1 1) 
    (display_length 1) 
    (input allowed)
    (value_in "Y" "N")
    (translate upper) 
    (null allowed) 
    (max_length 1)
    )
  (field "collarElevation"
    (position 1 1)
    (display_length 13)
    (input allowed)
    (null disallowed)
    (max_length 14)
    (auto_next off)
    (value_in "Fixed" "DTM layer" "DTM file")
    (default "DTM file")
    )
  (field "collarUseBoundaryElevation" 
    (position 29 15) 
    (display_length  1) 
    (input allowed)
    (value_in "Y" "N")
    (translate upper) 
    (null allowed) 
    (max_length 1)
    )
  (field "collarFixedElevation"
    (position 1 1)
    (display_length 8)
    (max_length 20)
    (dependency(value "collarUseBoundaryElevation") == "N")
    (format real_8)
    (input allowed)
    (null disallowed)
    )
  (field "collarDtmLayer"
    (position 1 1)
    (display_length 24)
    (max_length "APP_MAX_LAYER_NAME_LENGTH")
    (dependency(value "collarElevation") == "DTM layer")
    (auto_next off)
    (input allowed)
    (null disallowed)
    )
  (field "collarDtmFileLocation"
    (position 1 1)
    (display_length 24)
    (max_length "FIO_MAX_LOCATION_LENGTH")
    (dependency(value "collarElevation") == "DTM file")
    (file (extension "*.dtm"))
    (input allowed)
    (null disallowed)
    )
  (field "toeElevation"
    (position 1 1)
    (display_length 13)
    (input allowed)
    (null disallowed)
    (max_length 14)
    (auto_next off)
    (value_in "Fixed" "DTM layer" "DTM file")
    (default "DTM file")
    )
  (field "toeFixedElevation"
    (position 1 1)
    (display_length 8)
    (max_length 20)
    (dependency(value "toeElevation") == "Fixed")
    (format real_8)
    (input allowed)
    (null disallowed)
    )
  (field "toeDtmLayer"
    (position 1 1)
    (display_length 24)
    (max_length "APP_MAX_LAYER_NAME_LENGTH")
    (dependency(value "toeElevation") == "DTM layer")
    (auto_next off)
    (input allowed)
    (null disallowed)
    )
  (field "toeDtmFileLocation"
    (position 1 1)
    (display_length 24)
    (max_length "FIO_MAX_LOCATION_LENGTH")
    (dependency(value "toeElevation") == "DTM file")
    (file (extension "*.dtm"))
    (input allowed)
    (null disallowed)
    )
  (default_buttons)
)
