(form "00497" (size 51 18)
  (heading "TRIANGULATE CENTRE LINE AND PROFILE")
  (label (position  2  3) (text "Enter Profile String File"))
  (label (position  2  4) (text "Location"))
  (label (position  2  5) (text "ID number"))
  (label (position  2  7) (text "Profile Scale Factor"))
  (label (position  2  9) (text "Define Offsets from Centreline String"))
  (label (position  2 10) (text "Y"))
  (label (position 17 10) (text "X"))
  (label (position 32 10) (text "Z"))
  (label (position  2 12) (text "Profile Rotation (in degrees)"))
  (label (position  2 13) (text "Progressive Profile Expansion Along Centreline String"))
  (label (position  2 14) (text "Factor"))
  (label (position  2 15) (text "Vertically Constrained"))
  (field "plloc" (position 15  4) (display_length 26) (input allowed)
    (translate lower) (null disallowed) (max_length 26)
    (file (link "plid") (extension "*.str"))
    )
  (field "plid" (position 15  5) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    (help (field "plloc")))
  (field "use_explicit_object_id" (position 15 6) (display_length  1) 
    (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1))
  (field "explicit_object_id" (position 15  7) (display_length  5) (input allowed)
    (translate upper) (format integer_4) (null disallowed) (max_length 5)
    (low_bound 1) (high_bound 32000)
    )
  (field "scale" (position 22  7) (display_length  7) (input allowed)
    (low_bound 0.0001)
    (translate upper) (format real_8) (null disallowed) (max_length 7)
    )
  (field "yoff" (position  5 10) (display_length  7) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 7)
    )
  (field "xoff" (position 20 10) (display_length  7) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 7)
    (help (field "yoff")))
  (field "zoff" (position 35 10) (display_length  7) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 7)
    (help (field "yoff")))
  (field "rotation" (position 27 12) (display_length  4) (input allowed)
    (low_bound -360) (high_bound 360)
    (translate upper) (format real_8) (null disallowed) (max_length 4)
    )
  (field "gfactor" (position 11 14) (display_length  7) (input allowed)
    (low_bound -9999) (high_bound 9999)
    (translate upper) (format real_8) (null disallowed) (max_length 7)
    )
  (field "vcon" (position 29 15) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "triangulate_first_face" (position 29 15) (display_length  1) 
    (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1))
  (field "triangulate_last_face" (position 29 15) (display_length  1) 
    (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1))
  (default_buttons)
)
