GuidoScript scripts/dtmutilities.tcl
global file_location
global file_id
global object_id_top
global obj_name_top
global trisolation_id_top
global tri_id_top
global length_file_location
global length_file_id
global object_id_bot
global obj_name_bot
global trisolation_id_bot
global tri_name_bot
global object_id_lay_top
global obj_name_lay_top
global trisolation_id_lay_top
global tri_name_lay_top
global object_id_lay_bot
global obj_name_lay_bot
global trisolation_id_lay_bot
global tri_name_lay_bot
proc collarNextFocus {collar_el} {
set collarChoice [$collar_el getCurrentValue]
if {"$collarChoice" == "Fixed"} {
$collar_el setNextFocusableComponentName fixed_el
} elseif {"$collarChoice" == "DTM layer"} {
$collar_el setNextFocusableComponentName layer_name
} elseif {"$collarChoice" == "DTM file"} {
$collar_el setNextFocusableComponentName file_location
} else {
$collar_el setNextFocusableComponentName offset
}
}
GuidoForm frm01128 {
-default_buttons
-label "Pre-split parameters"
-layout BoxLayout Y_AXIS
-tip "01128_TIP_001"
-action final {[destroyTemporaryProcessedDTMSwa]}
-help_id 1618
GuidoPanel frm01128_1 {
-layout BoxLayout Y_AXIS
GuidoPanel topPanel {
-border etched true
-label "Presplit segment"
-layout BoxLayout Y_AXIS
GuidoPanel length_panel {
-layout BoxLayout X_AXIS
GuidoLabel frm01128_2 {
-font_style bold
-label "Segment length"
}
GuidoFiller space {
-width 2
}
GuidoLabel width {
-font_style bold
}
}
GuidoFiller space {
-height 0.5
}
GuidoPanel rightPanel {
-layout BoxLayout X_AXIS
GuidoPanel 00001 {
-layout BoxLayout X_AXIS
GuidoPanel frm01128_3 {
-layout BoxLayout X_AXIS
-tip "01128_TIP_002"
GuidoButtonGroupPanel size_method {
-layout BoxLayout Y_AXIS
-label "Spacing method"
GuidoRadioButton frm01128_4 {
-caption Spacing
-default true
-selected_value Spacing
-height 1
}
GuidoRadioButton frm01128_5 {
-caption "No. holes"
-selected_value "No holes"
-height 1
}
}
}
}
GuidoFiller space_filler {
-width 3
}
GuidoPanel frm01128_6 {
-layout OverlayLayout
GuidoPanel frm01128_7 {
-layout BoxLayout Y_AXIS
-dependency {"[ $size_method getCurrentValue]" == "No holes"}
GuidoPanel col_inp_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoField columns_inp {
-default 5
-display_length 6
-format integer
-label "No. holes"
-max_length 10
-legacy_action
-next_focus collar_el
-null false
-tip "Enter the number of holes along the selected segment."
-translate none
}
}
GuidoFiller frm01128_12 {
-height 0.05
}
GuidoFiller frm01128_13 {
-height 0.05
}
GuidoPanel spacing_display_panel {
-layout BoxLayout X_AXIS
GuidoLabel spacing_display_label {
-label Spacing
}
GuidoFiller space {
-width 2
}
GuidoLabel spacing_display {
-font_style bold
}
}
}
GuidoPanel frm01128_8 {
-layout BoxLayout Y_AXIS
-dependency {"[ $size_method getCurrentValue]" == "Spacing"}
GuidoPanel spacing_inp_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoField spacing_inp {
-display_length 6
-format double
-max_length 20
-legacy_action
-label Spacing
-next_focus collar_el
-null false
-tip "Enter the spacing between blast holes."
-translate upper
}
}
GuidoFiller frm01128_12 {
-height 0.05
}
GuidoFiller frm01128_13 {
-height 0.05
}
GuidoPanel col_disp_panel {
-layout BoxLayout X_AXIS
GuidoLabel columns_display_label {
-dependency {"[ $size_method getCurrentValue]" == "Spacing"}
-label "No. holes"
}
GuidoFiller space {
-width 2
}
GuidoLabel columns_display {
-font_style bold
}
}
}
}
}
}
}
GuidoFiller frm01128_9 {
-height 0.05
}
GuidoPanel hole_collar_toe_panel {
-layout BoxLayout X_AXIS
GuidoPanel frm01128_10 {
-layout BoxLayout Y_AXIS
-border etched true
-label "Collar elevation"
GuidoPanel frm01128_11 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox collar_el {
-default "Set Length"
-display_length 10
-format none
-label "Elevation method"
-max_length 14
-action valueChanged {[collarNextFocus $collar_el]}
-action initial {[collarNextFocus $collar_el]}
-null false
-tip "Select the method for determining the collar elevation"
-value_in "Fixed" "Selected Segment" "DTM layer" "DTM file"
}
}
GuidoFiller frm01128_12 {
-height 0.05
}
GuidoFiller frm01128_13 {
-height 0.05
}
GuidoPanel top_panel {
-layout Overlaylayout
GuidoPanel fixed_panel {
-layout CentreLineLayout VERTICAL LEFT
-dependency {"[ $collar_el getCurrentValue]" == "Fixed"}
GuidoLabel fixed_label {
-dependency {"[ $collar_el getCurrentValue]" == "Fixed"}
-label Elevation
}
GuidoField fixed_el {
-dependency {"[ $collar_el getCurrentValue]" == "Fixed"}
-display_length 10
-format double
-max_length 20
-null false
-tip "Enter the elevation of all drill holes"
-translate upper
}
}
GuidoPanel dtm_layer_panel {
-layout CentreLineLayout VERTICAL LEFT
-dependency {"[ $collar_el getCurrentValue]" == "DTM layer"}
GuidoComboBox layer_name {
-dependency {"[ $collar_el getCurrentValue]" == "DTM layer"}
-label "Layer name"
-display_length 13
-format none
-max_length "APP_MAX_LAYER_NAME_LENGTH"
-null false
-action valueChanged {[fill_triobject_trisolation_details_for_layers $layer_name $object_id_lay_top $obj_name_lay_top $trisolation_id_lay_top $tri_name_lay_top]}
-tip "Enter the layer name of the layer containing the collar elevation DTM"
-translate none
}
GuidoFiller frm01130_6 {
-height 0.05
}
GuidoFiller frm01130_7 {
-height 0.05
}
GuidoLabel obj_id_label_top {
-label "Object ID"
}
GuidoPanel frm01130_9 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox object_id_lay_top {
-display_length 5
-action valueChanged {[fill_triobject_details $layer_name $object_id_lay_top $obj_name_lay_top $trisolation_id_lay_top $tri_name_lay_top "false" "true"]}
-format integer
-max_length 32
-translate none
-tip "Select the object ID to process"
}
GuidoLabel obj_name_lay_top {
-height 1
}
}
GuidoFiller frm01130_13 {
-height 0.05
}
GuidoFiller frm01130_14 {
-height 0.05
}
GuidoLabel trisolation_id_lay_lab_top {
-label "Trisolation ID"
}
GuidoPanel frm01130_16 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox trisolation_id_lay_top {
-display_length 5
-format integer
-max_length 32
-translate none
-action valueChanged {[fill_trisolation_details $layer_name $object_id_lay_top $trisolation_id_lay_top $tri_name_lay_top "true" "true"]}
-tip "Select the trisolation ID to process"
}
GuidoLabel tri_name_lay_top {
-height 1
}
}
}
GuidoPanel dtm_file_panel {
-layout CentreLineLayout VERTICAL LEFT
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
GuidoFileBrowserField file_location {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-action focusGained {[checkthecontent $file_location $file_id ".dtm" $object_id_top $obj_name_top $trisolation_id_top $tri_name_top]}
-action initial {[checkthecontent $file_location $file_id ".dtm" $object_id_top $obj_name_top $trisolation_id_top $tri_name_top]}
-label Location
-display_length 15.5
-file_mask *.dtm
-format none
-link file_id
-max_length 252
-null false
-next_focus file_id
-tip "Enter the location of the top DTM file"
-translate none
}
GuidoFiller frm01128_14 {
-height 0.05
}
GuidoFiller frm01128_15 {
-height 0.05
}
GuidoField file_id {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-action focusLost {[checkthecontent $file_location $file_id ".dtm" $object_id_top $obj_name_top $trisolation_id_top $tri_name_top]}
-label ID
-display_length 7.4
-format none
-max_length 10
-next_focus object_id_top
-tip "Enter the id number of the collar elevation DTM"
-translate none
}
GuidoFiller frm01128_14 {
-height 0.05
}
GuidoFiller frm01128_15 {
-height 0.05
}
GuidoLabel obj_id_label {
-label "Object ID"
}
GuidoPanel frm01128_16 {
-layout CentreLineLayout VERTICAL LEFT
GuidoPanel frm01128_17 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox object_id_top {
-display_length 5
-action focusGained {[WrapperUpdateObjectDetailsForMultipleDtms $file_location $file_id ".dtm" $object_id_top $trisolation_id_top ]}
-action valueChanged {[wrapperTriobjectChanged $file_location $file_id ".dtm" $object_id_top $obj_name_top $trisolation_id_top $tri_name_top]}
-format integer
-max_length 32
-translate none
-tip "Select the object ID to process"
}
GuidoLabel obj_name_top {
-height	1
}
}
}
GuidoFiller frm01128_21 {
-height 0.05
}
GuidoFiller frm01128_22 {
-height 0.05
}
GuidoLabel trisolation_id_label {
-label "Trisolation ID"
}
GuidoPanel frm01128_24 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox trisolation_id_top {
-display_length 5
-format integer
-max_length 32
-translate none
-action focusGained {[wrapperUpdateTrisolationDetailsForMultipleDtms $file_location $file_id ".dtm" $object_id_top $trisolation_id_top ]}
-action valueChanged {[wrapperTrisolationChanged $file_location $file_id ".dtm" $object_id_top $trisolation_id_top $tri_name_top]}
-tip "Select the trisolation ID to process"
}
GuidoLabel tri_name_top {
-height 1
}
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoFiller frm01128_36 {
-height 0.05
}
GuidoPanel frm01128_30 {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox visible {
-default false
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-selected_value Yes
-tip "Select whether the top DTM, once loaded into memory, will be visible"
-unselected_value No
}
GuidoLabel visible_label_top {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-label "Make visible?"
}
}
}
}
GuidoPanel frm01128_31 {
-layout CentreLineLayout VERTICAL LEFT
GuidoField offset {
-default 0
-display_length 6
-format double
-label "Offset from line"
-low_bound 0
-max_length 20
-null false
-next_focus frm01128_56
-tip "01128_TIP_005"
-translate upper
}
}
}
GuidoPanel frm01128_32 {
-layout BoxLayout Y_AXIS
-border etched true
-label "Toe elevation"
GuidoPanel frm01128_33 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox hole_length {
-default "Set Length"
-display_length 9
-format none
-label "Toe position method"
-max_length 14
-next_focus set_length
-null false
-legacy_dependency
-tip "Select method for determining the bottom of the hole"
-value_in "Set Length" "Set Elevation" "DTM layer" "DTM file" "Set to Segment"
}
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoPanel bot_panel {
-layout OverlayLayout
GuidoPanel set_length_panel {
-dependency {"[ $hole_length getCurrentValue]" == "Set Length"}
-layout CentreLineLayout VERTICAL LEFT
GuidoField set_length {
-dependency {"[ $hole_length getCurrentValue]" == "Set Length"}
-display_length 8
-label "Hole length"
-format double
-low_bound .001
-max_length 20
-next_focus segment_offset
-null false
-tip "Enter the length of all holes"
-translate upper
}
}
GuidoPanel segment_offset_panel {
-dependency {"[ $hole_length getCurrentValue]" == "Set to Segment"}
-layout CentreLineLayout VERTICAL LEFT
GuidoField segment_offset {
-default 0
-dependency {"[ $hole_length getCurrentValue]" == "Set to Segment"}
-label "Segment offset"
-display_length 8
-format double
-max_length 20
-next_focus frm01128_20
-null false
-tip "Enter the offset from the target segment.  The direction of the offset will be selected later"
-translate upper
}
GuidoLabel Segment_fix_label {
-label "Fix value"
}
GuidoButtonGroupPanel segment_fix {
-layout BoxLayout Y_AXIS
-tip "01128_TIP_015"
GuidoRadioButton frm01128_34 {
-caption Bearing
-default true
-selected_value Bearing
}
GuidoRadioButton frm01128_35 {
-caption Offset
-next_focus set_el
-selected_value Offset
}
}
}
GuidoPanel set_el_panel {
-layout CentreLineLayout VERTICAL LEFT
-dependency {"[ $hole_length getCurrentValue]" == "Set Elevation"}
GuidoField set_el {
-dependency {"[ $hole_length getCurrentValue]" == "Set Elevation"}
-label Elevation
-display_length 8
-format double
-max_length 20
-next_focus length_layer_name
-null false
-tip "Enter the elevation of the bottom of all holes"
-translate upper
}
}
GuidoPanel bot_dtm_layer_panel {
-dependency {"[ $hole_length getCurrentValue]" == "DTM layer"}
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox length_layer_name {
-dependency {"[ $hole_length getCurrentValue]" == "DTM layer"}
-display_length 13
-label "Layer name"
-format none
-max_length "APP_MAX_LAYER_NAME_LENGTH"
-null false
-action valueChanged {[fill_triobject_trisolation_details_for_layers $length_layer_name $object_id_lay_bot $obj_name_lay_bot $trisolation_id_lay_bot $tri_name_lay_bot]}
-tip "Enter the layer name of the layer containing the bottom of hole DTM"
-translate none
}
GuidoFiller frm01130_6 {
-height 0.05
}
GuidoFiller frm01130_7 {
-height 0.05
}
GuidoLabel obj_id_lab_lay_bot {
-label "Object ID"
}
GuidoPanel frm01130_9 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox object_id_lay_bot {
-display_length 5
-action valueChanged {[fill_triobject_details $length_layer_name $object_id_lay_bot $obj_name_lay_bot $trisolation_id_lay_bot $tri_name_lay_bot "false" "true"]}
-format integer
-max_length 32
-translate none
-tip "Select the object ID to process"
}
GuidoLabel obj_name_lay_bot {
-height 1
}
}
GuidoFiller frm01130_13 {
-height 0.05
}
GuidoFiller frm01130_14 {
-height 0.05
}
GuidoLabel trisolation_id_lay_lab_bot {
-label "Trisolation ID"
}
GuidoPanel frm01130_16 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox trisolation_id_lay_bot {
-display_length 5
-format integer
-max_length 32
-translate none
-action valueChanged {[fill_trisolation_details $length_layer_name $object_id_lay_bot $trisolation_id_lay_bot $tri_name_lay_bot "true" "true"]}
-tip "Select the trisolation ID to process"
}
GuidoLabel tri_name_lay_bot {
-height 1
}
}
GuidoFiller frm01130_20 {
-height 0.05
}
}
GuidoPanel bot_dtm_file_panel {
-layout CentreLineLayout VERTICAL LEFT
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
GuidoFileBrowserField length_file_location {
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
-action initial {[checkthecontent $length_file_location $length_file_id ".dtm" $object_id_bot $obj_name_bot $trisolation_id_bot $tri_name_bot]}
-action focusGained {[checkthecontent $length_file_location $length_file_id ".dtm" $object_id_bot $obj_name_bot $trisolation_id_bot $tri_name_bot]}
-label Location
-display_length 15.5
-file_mask *.dtm
-format none
-max_length 252
-link length_file_id
-null false
-next_focus length_file_id
-tip "Enter the location of the hole bottom DTM file"
-translate none
}
GuidoFiller frm01128_36 {
-height 0.05
}
GuidoFiller v_44 {
-height 0.05
}
GuidoField length_file_id {
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
-action focusLost {[checkthecontent $length_file_location $length_file_id ".dtm" $object_id_bot $obj_name_bot $trisolation_id_bot $tri_name_bot]}
-label ID
-display_length 7.4
-format none
-max_length 10
-next_focus object_id_bot
-tip "Enter the id number of the bottom of hole DTM"
-translate none
}
GuidoFiller frm01128_36 {
-height 0.05
}
GuidoFiller v_44 {
-height 0.05
}
GuidoLabel obj_id_lab_bot {
-label "Object ID"
}
GuidoPanel frm01128_38 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox object_id_bot {
-display_length 5
-action valueChanged {[wrapperTriobjectChanged $length_file_location $length_file_id ".dtm" $object_id_bot $obj_name_bot $trisolation_id_bot $tri_name_bot]}
-action focusGained {[WrapperUpdateObjectDetailsForMultipleDtms $length_file_location $length_file_id ".dtm" $object_id_bot $trisolation_id_bot ]}
-format integer
-max_length 32
-translate none
-tip "Select the object ID to process"
}
GuidoLabel obj_name_bot {
-height 1
}
}
GuidoFiller frm01128_42 {
-height 0.05
}
GuidoFiller frm01128_43 {
-height 0.05
}
GuidoLabel trisolation_id_lab_bot {
-label "Trisolation ID"
}
GuidoPanel frm01128_44 {
-layout CentreLineLayout VERTICAL LEFT
GuidoPanel frm01128_45 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox trisolation_id_bot {
-display_length 5
-format integer
-max_length 32
-translate none
-action focusGained {[wrapperUpdateTrisolationDetailsForMultipleDtms $length_file_location $length_file_id ".dtm" $object_id_bot $trisolation_id_bot]}
-action valueChanged {[wrapperTrisolationChanged $length_file_location $length_file_id ".dtm" $object_id_bot $trisolation_id_bot $tri_name_bot]}
-tip "Select the trisolation ID to process"
}
GuidoLabel tri_name_bot {
-height 1
}
}
}
GuidoFiller frm01128_49 {
-height 0.05
}
GuidoFiller frm01128_50 {
-height 0.05
}
GuidoFiller frm01128_50 {
-height 0.05
}
GuidoPanel frn01128_84 {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox length_visible {
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
-default false
-selected_value Yes
-tip "Select whether the bottom DTM, once loaded into memory, will be visible"
-unselected_value No
}
GuidoLabel visible_label_bot {
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
-label "Make visible?"
}
}
}
}
GuidoPanel toe_type_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoField subdrill {
-display_length 8
-format double
-label "Subdrill distance"
-next_focus prefix
-tip "Enter the subdrill distance required"
}
}
}
}
GuidoFiller frm01128_52 {
-height 0.05
}
GuidoPanel frm01128_53 {
-layout BoxLayout X_AXIS
GuidoPanel leftPanel {
-layout BoxLayout Y_AXIS
GuidoPanel frm01128_54 {
-layout CentreLineLayout VERTICAL LEFT
-border etched true
-label "Hole settings"
-width 23.2
-height 9.7
GuidoLabel frm01128_91 {
-dependency { "[$hole_length getCurrentValue]" != "Set to Segment" }
-label Bearing
}
GuidoButtonGroupPanel bearing_type {
-layout BoxLayout Y_AXIS
-tip "01128_TIP_021"
GuidoRadioButton frm01128_56 {
-dependency { "[$hole_length getCurrentValue]" != "Set to Segment" }
-caption "Set bearing"
-selected_value "Set Bearing"
}
GuidoRadioButton frm01128_57 {
-dependency { "[$hole_length getCurrentValue]" != "Set to Segment" }
-caption "Perp. to segment"
-next_focus bearing
-selected_value "Perp. to Segment"
}
}
GuidoField bearing {
-default 0
-dependency {"[ $bearing_type getCurrentValue]" == "Set Bearing" && "[ $hole_length getCurrentValue]" != "Set to Segment"}
-display_length 8
-format decimal_angle
-label "Hole bearing"
-low_bound 0
-high_bound 6.283185307
-max_length 20
-next_focus dip
-null false
-tip BLAST_HOLE_BEARING_TIP
-translate upper
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoField dip {
-default -90
-dependency {"[ $hole_length getCurrentValue]" != "Set to Segment"}
-display_length 8
-format decimal_angle
-label "Hole dip"
-high_bound 1.570796327
-low_bound  -1.570796327
-max_length 20
-next_focus diameter
-null false
-tip BLAST_HOLE_DIP_TIP
-translate upper
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoField diameter {
-display_length 8
-format double
-label "Hole diameter"
-low_bound 0
-max_length 20
-next_focus clip
-null false
-tip "Enter the diameter of the holes"
-translate upper
}
}
GuidoPanel frm01128_58 {
-layout CentreLineLayout VERTICAL LEFT
-border etched true
-label "Blast settings"
-width 22
GuidoPanel frm01128_88 {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox clip {
-default false
-next_focus pattern_id
-selected_value Yes
-tip "Do you wish to clip the hole generation to an existing boundary?"
-unselected_value No
}
GuidoLabel clip_label {
-label "Clip to boundary"
}
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoComboBox rmc {
-display_length 10
-format none
-label "Rock name"
-max_length 30
-null true
-exclusive false
}
GuidoField pattern_id {
-display_length 8
-format none
-label "Pattern identifier"
-max_length 20
-null false
-tip "Enter the pattern identifier for these holes."
-translate none
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoComboBox rig {
-label "Drill rig"
-display_length 8
-max_length 50
-null true
-exclusive false
-next_focus hole_length
-tip "Drill rig name"
}
}
}
GuidoPanel frm01128_59 {
-layout CentreLineLayout VERTICAL LEFT
-border etched true
-label "Labelling options"
-width 23
GuidoField prefix {
-display_length 8
-format none
-label "Hole ID prefix"
-max_length 20
-next_focus suffix
-tip "01128_TIP_027"
-translate none
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoField suffix {
-display_length 8
-format none
-label "Hole ID suffix"
-max_length 20
-next_focus start
-tip "Enter a hole suffix string.  This will be added to the hole id after the incrementing numerical part"
-translate none
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoField start {
-default 1
-display_length 8
-format integer
-label "Starting value"
-max_length 20
-next_focus pad_check
-null false
-tip "Enter the starting number for the incremental part of the hole id"
-translate none
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoPanel frm01128_86 {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox pad_check {
-default true
-next_focus pad_length
-selected_value Yes
-tip "Would you like to pad the numerical portion of the hole id to a specific length?"
-unselected_value No
}
GuidoLabel pad_check_label {
-label "Pad hole_id"
}
}
GuidoFiller frm01128_87 {
-height 0.05
}
GuidoPanel toe_ty2 {
-layout CentreLineLayout VERTICAL LEFT
GuidoFiller frm01128_83 {
-width 2
}
GuidoPanel toe_ty1 {
-layout CentreLineLayout VERTICAL LEFT
GuidoField pad_length {
-default 5
-dependency {"[ $pad_check getCurrentValue]" == "Yes"}
-label "Pad length"
-display_length 2
-format integer
-low_bound 1
-max_length 20
-next_focus pad_char
-null false
-tip "Enter the length to pad the hole id to"
-translate none
}
GuidoFiller frm01128_28 {
-height 0.05
}
GuidoFiller frm01128_29 {
-height 0.05
}
GuidoField pad_char {
-dependency {"[ $pad_check getCurrentValue]" == "Yes"}
-label "Pad character"
-display_length 2
-default 0
-format none
-max_length 1
-null false
-tip "Enter the character to pad the hole identifier with"
-translate none
}
}
}
}
}
}
