GuidoScript scripts/dtmutilities.tcl
global dtm_layer
global object_id
global trisolation_id
global obj_name
global tri_name
GuidoForm frm01319 {
-action initial {[fill_triobject_trisolation_details_for_layers $dtm_layer $object_id $obj_name $trisolation_id $tri_name]}
-default_buttons
-help_id 570
-label "Extract sections from a DTM along a centre line"
-layout BoxLayout Y_AXIS
-tip 00037_TIP_0
GuidoPanel frm01319_20 {
-border etched true
-label "The center line string"
-layout BoxLayout Y_AXIS
-display_length 30.7
GuidoPanel frm01319_20 {
-layout CentreLineLayout Vertical Left
GuidoLabel cl_layer_label {
-label "Layer name"
}
GuidoLabel cl_layer {
}
}
GuidoPanel frm01319_20 {
-layout CentreLineLayout Vertical Left
GuidoLabel cl_str_label {
-label "String number"
}
GuidoLabel cl_str {
}
}
}
GuidoPanel frm00245_37 {
-border etched true
-layout BoxLayout Y_AXIS
-label "Define DTM to section"
GuidoPanel frm01319_21 {
-layout CentreLineLayout Vertical Left
GuidoComboBox dtm_layer {
-action valueChanged {[fill_triobject_trisolation_details_for_layers $dtm_layer $object_id $obj_name $trisolation_id $tri_name]}
-label "Location"
-display_length 20.8
-format none
-max_length 32
-null false
-tip 00037_TIP_1
-translate none
-next_focus object_id
}
GuidoFiller filler {
-height 0.05
}
GuidoFiller filler {
-height 0.05
}
GuidoLabel triobject1 {
-label "Object ID"
}
GuidoPanel frm01320_6 {
-layout BoxLayout X_AXIS
GuidoComboBox object_id {
-display_length 5
-format integer
-max_length 32
-translate none
-exclusive false
-next_focus trisolation_id
-tip "04949_TIP_1"
-action valueChanged {[fill_triobject_details $dtm_layer $object_id $obj_name $trisolation_id $tri_name "false" "true"]}
}
GuidoFiller filler {
-width 0.2
}
GuidoLabel obj_name {
}
}
GuidoFiller filler {
-height 0.05
}
GuidoFiller filler {
-height 0.05
}
GuidoLabel trisol_panel {
-label "Trisolation ID"
}
GuidoPanel frm01320_7 {
-layout BoxLayout X_AXIS
GuidoComboBox trisolation_id {
-display_length 5
-format integer
-max_length 32
-translate none
-exclusive false
-next_focus width
-tip "04949_TIP_2"
-action valueChanged {[fill_trisolation_details $dtm_layer $object_id $trisolation_id $tri_name "true" "true"]}
}
GuidoFiller filler {
-width 0.2
}
GuidoLabel tri_name {
}
}
}
}
GuidoPanel frm01319_24 {
-border etched true
-label "Define the section method"
-layout CentreLineLayout Vertical Left
-display_length 30.5
GuidoField width {
-label "Width either side"
-display_length 8
-format double
-high_bound 999999999
-low_bound 0.1
-max_length 10
-next_focus method
-null false
-tip 00037_TIP_6
-translate upper
}
GuidoFiller filler {
-height 0.05
}
GuidoFiller filler {
-height 0.05
}
GuidoLabel method_label {
-label "Position sections at"
}
GuidoPanel p1 {
-layout BoxLayout Y_AXIS
GuidoButtonGroupPanel method {
-tip 00037_TIP_5
-layout BoxLayout Y_AXIS
GuidoRadioButton frm01319_8 {
-caption "At each point"
-selected_value POINT
}
GuidoRadioButton frm01319_9 {
-caption "At each regular interval"
-default true
-selected_value INTERVAL
-next_focus spacing
}
}
GuidoPanel p1 {
-layout BoxLayout X_AXIS
GuidoFiller filler {
-width 1.7
}
GuidoPanel p2 {
-layout CentreLineLayout Vertical Left
GuidoField spacing {
-label "Section spacing"
-dependency {"[ $method getCurrentValue]" == "INTERVAL"}
-display_length 8
-format double
-high_bound 999999999
-low_bound 0.1
-max_length 10
-null false
-next_focus new_sec_layer
-tip 00037_TIP_7
-translate upper
}
}
}
}
}
GuidoPanel frm01319_27 {
-layout BoxLayout Y_AXIS
-border etched true
-label "Define output layer"
GuidoPanel frm01319_27 {
-layout CentreLineLayout Vertical Left
GuidoField new_sec_layer {
-label Location
-display_length 22.5
-format none
-max_length 32
-null false
-next_focus frm01319_15
-tip 01319_TIP_7
-translate lower
}
GuidoFiller filler {
-height 0.05
}
GuidoFiller filler {
-height 0.05
}
GuidoLabel coordinates_label {
-label "Coordinates in"
}
GuidoButtonGroupPanel coordinates {
-layout BoxLayout Y_AXIS
-tip 01319_TIP_8
GuidoRadioButton frm01319_15 {
-caption "Real world"
-selected_value "real world"
}
GuidoRadioButton frm01319_16 {
-caption Section
-selected_value section
}
}
}
}
}
