(form "20335" (size 65 13)
    (heading "BLOCK MODEL THICKNESS")

    (label
        (position 2 3)
        (text "Class attribute")
    )
    (field "ore_att"
        (position 14 3)
        (display_length 13)
        (max_length "BM_MAX_ATT_NAME_LEN")
        (input allowed)
        (null disallowed)
        )
    
    (label
        (position 2 4)
        (text "Class Value")
    )
    (field "ore_val"
        (position 14 4)
        (display_length 13)
        (max_length 30)
        (input allowed)
        (null disallowed)
        )

    (scroll_block "attributes"
        (position 32 4)
        (size 26 2)
        (extra 0 1)
        (scroll_size 26 50)
        (repeat interactive
            (grow 0 1)
            (instances 0
                (min 1)
                (max 50)
            )
        )
        (top
            (label
                (position 1 0)
                (text "Attributes to composite")
            )
        )
        (main
            (field "quality"
                (position 1 0)
                (display_length 20)
                (max_length "BM_MAX_ATT_NAME_LEN")
                (input allowed)
                (auto_next off)
                (null allowed)
                )
        )
    )

    (scroll_block "aggregate_attributes"
        (position 32 4)
        (size 26 2)
        (extra 0 1)
        (scroll_size 26 50)
        (repeat interactive
            (grow 0 1)
            (instances 0
                (min 1)
                (max 50)
            )
        )
        (top
            (label
                (position 1 0)
                (text "Attributes to aggregate")
            )
        )
        (main
            (field "aggregate_quality"
                (position 1 0)
                (display_length 20)
                (max_length "BM_MAX_ATT_NAME_LEN")
                (input allowed)
                (auto_next off)
                (null allowed)
                )
        )
    )

    (label
        (position 2 6)
        (text "Output string file:")
    )

    (label
        (position 4 7)
        (text "Location")
    )
    (field "str_loc"
        (position 14 7)
        (display_length 13)
        (max_length 40)
        (translate lower)
        (input allowed)
        (null disallowed)
        (file
            (link "str_id")
            (extension "*.str")
        )
        )

    (label
        (position 9 8)
        (text "Id")
    )
    (field "str_id"
        (position 14 8)
        (display_length 13)
        (max_length 26)
        (input allowed)
        (null disallowed)
        (format real_8)
        (help (field "str_loc")
        )
    )

    (label
        (position 32 7)
        (text "Direction of columns")
    )
    (field "axis"
        (position 50 7)
        (display_length 2)
        (input allowed)
        (null disallowed)
        (value_in "X" "Y" "Z" "-X" "-Y" "-Z")
        (default "-Z")
        )
    
    (label
        (position 32 8)
        (text "Constrain extraction?")
    )
    (field "constrain"
        (position 50 8)
        (display_length 2)
        (max_length 3)
        (input allowed)
        (null disallowed)
        (value_in "Yes" "No")
        (default "Yes")
        )

    (label
        (position 32 10)
        (text "REPORT_FILE_NAME")
    )
    (field "fname"
        (position 43 10)
        (display_length 13)
        (max_length "FIO_MAX_FILENAME_LENGTH")
        (translate lower)
        (input allowed)
        (null disallowed)
        (file output
            (extension trim "reports|*.not")
        )
        (help   "REPORT_FILE_NAME_TIP"
        ))

    (field "report_format" (position 43 11) (display_length 16)
      (input allowed) (null disallowed)
      (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"
                ".log - Surpac log file"))
    (default_buttons)
)
