GuidoScript scripts/dtmutilities.tcl
GuidoForm frm00684 {
-default_buttons
-label "Polynomial trends"
-layout BoxLayout Y_AXIS
-tip 00684_TIP_0
-action final { [destroyTemporaryProcessedDTMSwa] }
GuidoPanel frm00684_64 {
-layout BoxLayout X_AXIS
GuidoPanel frm00684_1 {
-layout BoxLayout Y_AXIS
GuidoPanel frm00684_2 {
-border etched true
-label "Input string file"
-layout CentreLineLayout VERTICAL LEFT
GuidoFileBrowserField location {
-label Location
-display_length 20
-file_mask *.str
-format none
-max_length 252
-next_focus id
-tip 00684_TIP_1
-translate none
-extension false
-link id
}
GuidoFiller frm00684_3 {
-height 0.05
}
GuidoFiller frm00684_4 {
-height 0.05
}
GuidoField id {
-label "ID number"
-display_length 20
-format double
-max_length 16
-next_focus b_location
-tip 00684_TIP_2
-translate upper
}
}
GuidoFiller frm00684_5 {
-width 1
}
GuidoPanel plane_panel {
-border etched true
-label "Projection plane"
-layout BoxLayout Y_AXIS
GuidoLabel plane_label {
-label "FRM_00126_1"
}
GuidoFiller plane_filler1 {
-height 0.05
}
GuidoPanel plane_field_panel {
-layout CentreLineLayout
GuidoComboBox plane {
-display_length 24
-label "Create on:"
-null false
-tip SURFACE_CREATION_PLANE_TIP
}
}
GuidoFiller plane_filler2 {
-height 0.05
}
GuidoPanel activate_plane_panel {
-layout CentreLineLayout
GuidoCheckBox activate_plane {
-dependency {"[$plane getCurrentValue]" == "best fit"}
-default false
-tip SURFACE_CREATION_PLANE_ACTIVATE
}
GuidoLabel activate_plane_label {
-label "FRM_00126_5"
-dependency {"[$plane getCurrentValue]" == "best fit"}
}
}
}
GuidoPanel frm00684_6 {
-border etched true
-label "Boundary limit string"
-layout CentreLineLayout VERTICAL LEFT
GuidoFileBrowserField b_location {
-label Location
-display_length 19
-file_mask *.str
-format none
-link b_id
-max_length 252
-next_focus b_id
-tip 00684_TIP_3
-translate none
}
GuidoFiller frm00684_7 {
-height 0.05
}
GuidoFiller frm00684_8 {
-height 0.05
}
GuidoField b_id {
-label "ID number"
-display_length 19
-format double
-max_length 16
-next_focus string_no
-tip "Enter the ID of the string file containing the new boundary"
}
GuidoFiller frm00683_9 {
-height 0.05
}
GuidoFiller frm00683_10 {
-height 0.05
}
GuidoField string_no {
-label "String No."
-display_length 19
-format integer
-max_length 16
-next_focus seg_no
-null false
-low_bound 1
-high_bound 32000
-tip 00684_TIP_5
-translate upper
}
GuidoFiller frm00683_11 {
-height 0.05
}
GuidoFiller frm00683_12 {
-height 0.05
}
GuidoField seg_no {
-label "Segment No."
-display_length 19
-format integer
-max_length 16
-null false
-low_bound 1
-tip 00684_TIP_6
-translate upper
}
}
GuidoPanel frm00683_31 {
-border etched true
-label "Output DTM"
-layout CentreLineLayout VERTICAL LEFT
GuidoFileBrowserField n_location {
-display_length 19
-label Location
-format none
-max_length 252
-tip "Enter the location for the file to store the new DTM"
-file_mask *.dtm
-link n_id
-file_access write
}
GuidoFiller frm00684_32 {
-height 0.05
}
GuidoFiller frm00684_33 {
-height 0.05
}
GuidoField n_id {
-display_length 19
-label "ID number"
-format double
-max_length 16
-tip 00684_TIP_12
-translate upper
}
GuidoFiller frm00684_34 {
-height 0.05
}
GuidoFiller frm00684_35 {
-height 0.05
}
GuidoField new_dtm_obj_id {
-label "Object ID"
-format integer
-max_length 5
-default 1
-display_length 8
-input true
-null false
-low_bound 1
-high_bound 32000
-tip "Enter the object number"
}
GuidoFiller frm00684_36 {
-height 0.05
}
GuidoFiller frm00684_37 {
-height 0.05
}
GuidoField new_dtm_obj_name {
-label "Object name"
-format string
-default " "
-display_length 8
-input true
-null false
-tip "Enter the name of the object"
}
}
}
GuidoPanel frm00684_13 {
-layout BoxLayout Y_AXIS
GuidoPanel frm00684_14 {
-border etched true
-label "Polynomial surface"
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox poly {
-label "Surface to fit"
-display_length 7
-format none
-max_length 15
-next_focus max_x
-tip 00684_TIP_7
-value_in PLANAR QUADRATIC CUBIC QUARTIC QUINTIC "USER DEFINED"
}
GuidoFiller frm00683_15 {
-height 0.05
}
GuidoFiller frm00683_16 {
-height 0.05
}
GuidoField max_x {
-dependency {"[ $poly getCurrentValue]" == "USER DEFINED"}
-label "Maximum x power"
-display_length 9.5
-format integer
-high_bound 10
-low_bound 0
-max_length 3
-next_focus max_y
-null false
-tip 00684_TIP_8
-translate upper
}
GuidoFiller frm00683_17 {
-height 0.05
}
GuidoFiller frm00683_18 {
-height 0.05
}
GuidoField max_y {
-dependency {"[ $poly getCurrentValue]" == "USER DEFINED"}
-label "Maximum y power"
-display_length 9.5
-format integer
-high_bound 10
-low_bound 0
-max_length 3
-next_focus max_total
-null false
-tip 00684_TIP_9
-translate upper
}
GuidoFiller frm00684_19 {
-height 0.05
}
GuidoFiller frm00684_20 {
-height 0.05
}
GuidoField max_total {
-dependency {"[ $poly getCurrentValue]" == "USER DEFINED"}
-label "Maximum total power"
-display_length 9.5
-format integer
-high_bound 10
-low_bound 0
-max_length 3
-next_focus z_rbutton
-null false
-tip 00684_TIP_10
-translate upper
}
}
GuidoPanel frm00684_21 {
-border etched true
-height 11.2
-width  20.7
-layout BoxLayout Y_AXIS
-tip 00684_TIP_13
GuidoPanel frm00684_61 {
-layout CentreLineLayout  VERTICAL LEFT
GuidoFiller frm00684_81 {
-height 1
}
GuidoFiller frm00684_82 {
-height 1
}
GuidoLabel frm00684_62 {
-label "Trend surface based on"
}
GuidoButtonGroupPanel trend {
-layout BoxLayout Y_AXIS
-tip 00684_TIP_13
GuidoRadioButton z_rbutton {
-caption "Z values"
-selected_value Z
}
GuidoRadioButton d_rbutton {
-caption "D fields"
-next_focus dfield
-selected_value D
}
}
GuidoFiller frm00684_27_1 {
-height 0.05
}
GuidoPanel fsdfsdj {
-layout BoxLayout X_AXIS
GuidoFiller frm00684_27_1 {
-width 1.9
}
GuidoField dfield {
-dependency {"[ $trend getCurrentValue]" == "D"}
-display_length 3
-format integer
-high_bound 100
-low_bound 1
-max_length 3
-next_focus x_res
-null false
-tip 00671_TIP_5
-translate none
}
}
GuidoFiller frm00684_27 {
-height 0.5
}
GuidoFiller frm00684_28 {
-height 0.5
}
GuidoField x_res {
-display_length 3
-label "X resolution"
-format integer
-high_bound 500
-low_bound 1
-max_length 3
-next_focus y_res
-null false
-tip 00684_TIP_15
-translate none
}
GuidoFiller frm00684_29 {
-height 0.05
}
GuidoFiller frm00684_30 {
-height 0.05
}
GuidoField y_res {
-display_length 3
-label "Y resolution"
-format integer
-high_bound 500
-low_bound 1
-max_length 3
-null false
-tip 00684_TIP_16
-translate none
}
}
}
}
}
}
