/3.0 (Extension.1 Name: "Kriging Interpolation" Dependencies: "$AVBIN/avdlog.dll\n$AVEXT/spatial.avx\n" FirstRootClassName: "List" Roots: 2 Roots: 3 Roots: 4 Roots: 12 Roots: 13 Roots: 57 Roots: 58 Roots: 59 Roots: 60 Roots: 61 Roots: 62 Roots: 63 Roots: 64 Version: 30 About: "Generate contour/surface with Kriging Method." CanUnloadScript: 64 UnloadScript: 63 InstallScript: 65 UninstallScript: 66 ExtVersion: 1 ) (List.2 ) (List.3 ) (List.4 Child: 5 ) (List.5 Child: 6 Child: 10 Child: 11 ) (List.6 Child: 7 Child: 8 Child: 9 ) (AVStr.7 S: "View" ) (AVStr.8 S: "Analysis" ) (AVStr.9 S: "KGDialog" ) (Choice.10 Help: "Creates contour or surface from a point theme by Kriging" Update: "KGMenuUpdate" Label: "&Kriging Interpolation" Click: "KGDialog" Shortcut: "Keys.None" ) (Numb.11 N: 9.00000000000000 ) (List.12 ) (AVDLog.13 Name: "KGDialogmenu" X: 24 Y: 44 W: 460 H: 316 ConstrainedControlNames: 14 ConstrainedControlNames: 15 Constraints: 16 Constraints: 17 Server: 18 ControlPanel: 19 Title: "Kriging Interpolating" EscapeEnabled: 1 Resizable: 1 AlwaysOnTop: 1 HasTitleBar: 1 Closeable: 1 DefaultButton: 56 ) (AVStr.14 S: "Comd_OK" ) (AVStr.15 S: "Comd_Cancel" ) (Numb.16 N: 85.00000000000000 ) (Numb.17 N: 85.00000000000000 ) (Nil.18 ) (CPanel.19 Child: 20 Child: 31 Child: 32 Child: 33 Child: 34 Child: 35 Child: 36 Child: 37 Child: 38 Child: 39 Child: 44 ResBox: 45 ResBox: 46 ResBox: 47 ResBox: 48 ResBox: 49 ResBox: 50 ResBox: 51 ResBox: 52 ResBox: 53 ResBox: 54 ResBox: 55 Listening: 1 ) (CPanel.20 InternalName: "aControlPanel27" Child: 21 Child: 22 Child: 23 Child: 26 Constraints: 0x55 ResBox: 27 ResBox: 28 ResBox: 29 ResBox: 30 Label: "Data search option" VisibleBorder: 1 Listening: 1 ) (RButn.21 InternalName: "RB_1" Constraints: 0x55 Listening: 1 Label: "Fixed" Click: "KGOptionBox" ) (RButn.22 InternalName: "RB_2" Constraints: 0x55 Listening: 1 Label: "Variable" Click: "KGOptionBox" ) (TextLine.23 InternalName: "Text_1" Label: "aTextLine18:" Constraints: 0x55 Listening: 1 TextType: 24 NextControl: 25 ) (AVEnum.24 Name: "TEXTLINE_TYPE_ALL" ) (Nil.25 ) (TextLine.26 InternalName: "Text_2" Label: "aTextLine19:" Constraints: 0x55 Listening: 1 TextType: 24 NextControl: 25 ) (RectD.27 Left: 19.00000000000000 Top: 45.00000000000000 Right: 78.00000000000000 Bottom: 29.00000000000000 ) (RectD.28 Left: 20.00000000000000 Top: 77.00000000000000 Right: 85.00000000000000 Bottom: 57.00000000000000 ) (RectD.29 Left: 118.00000000000000 Top: 47.00000000000000 Right: 402.00000000000000 Bottom: 27.00000000000000 ) (RectD.30 Left: 118.00000000000000 Top: 77.00000000000000 Right: 403.00000000000000 Bottom: 57.00000000000000 ) (LButn.31 InternalName: "Comd_OK" Label: "OK" Click: "KGOKcomd" ) (AVCBBox.32 InternalName: "Combo_2" NextControl: 25 ContentKind: 4 Constraints: 0x55 Listening: 1 Label: " " ) (AVCBox.33 InternalName: "Check_1" Listening: 1 Label: "Use a barrier theme in the interpolation" Click: "KGCheckBox1" Constraints: 0x55 ) (AVCBBox.34 InternalName: "Combo_3" NextControl: 25 ContentKind: 4 Constraints: 0x55 Listening: 1 ) (AVCBBox.35 InternalName: "Combo_1" NextControl: 25 ContentKind: 4 Constraints: 0x55 Listening: 1 ) (TextLabel.36 InternalName: "aTextLabel24" Constraints: 0x55 Label: "Select a field to interpolate" Listening: 1 ) (TextLabel.37 InternalName: "aTextLabel25" Constraints: 0x55 Label: "Select a Kringing method" Listening: 1 ) (LButn.38 InternalName: "Comd_Cancel" Label: "Cancel" Click: "KGCancelcomd" ) (CPanel.39 InternalName: "aControlPanel2" Child: 40 Child: 41 Constraints: 0x55 ResBox: 42 ResBox: 43 Label: "Output Format" VisibleBorder: 1 Listening: 1 ) (RButn.40 InternalName: "RB_3" Constraints: 0x55 Listening: 1 Label: "Contour" ) (RButn.41 InternalName: "RB_4" Constraints: 0x55 Listening: 1 Label: "Surface" ) (RectD.42 Left: 13.00000000000000 Top: 39.00000000000000 Right: 82.00000000000000 Bottom: 23.00000000000000 ) (RectD.43 Left: 85.00000000000000 Top: 41.00000000000000 Right: 157.00000000000000 Bottom: 20.00000000000000 ) (AVCBox.44 InternalName: "Check_2" Listening: 1 Label: "Save variogram grid" Constraints: 0x55 ) (RectD.45 Left: 22.00000000000000 Top: 174.00000000000000 Right: 437.00000000000000 Bottom: 83.00000000000000 ) (RectD.46 Left: 145.00000000000000 Top: 299.00000000000000 Right: 194.00000000000000 Bottom: 275.00000000000000 ) (RectD.47 Left: 269.00000000000000 Top: 75.00000000000000 Right: 437.00000000000000 Bottom: 53.00000000000000 ) (RectD.48 Left: 38.00000000000000 Top: 210.00000000000000 Right: 250.00000000000000 Bottom: 181.00000000000000 ) (RectD.49 Left: 285.00000000000000 Top: 208.00000000000000 Right: 415.00000000000000 Bottom: 183.00000000000000 ) (RectD.50 Left: 34.00000000000000 Top: 75.00000000000000 Right: 202.00000000000000 Bottom: 53.00000000000000 ) (RectD.51 Left: 40.00000000000000 Top: 49.00000000000000 Right: 180.00000000000000 Bottom: 32.00000000000000 ) (RectD.52 Left: 277.00000000000000 Top: 50.00000000000000 Right: 442.00000000000000 Bottom: 31.00000000000000 ) (RectD.53 Left: 256.00000000000000 Top: 299.00000000000000 Right: 305.00000000000000 Bottom: 275.00000000000000 ) (RectD.54 Left: 252.00000000000000 Top: 262.00000000000000 Right: 414.00000000000000 Bottom: 211.00000000000000 ) (RectD.55 Left: 38.00000000000000 Top: 246.00000000000000 Right: 190.00000000000000 Bottom: 227.00000000000000 ) (Nil.56 ) (EnScript.57 Name: "KGCancelcomd" SourceCode: "%YCkZht_%5co*Kas\\CkZht_-JI=efdt_lggq'!`Fb]qgl&bnhoj" ) (EnScript.58 Name: "KGCheckBox1" SourceCode: ",Kocmefd3Cqk`?tfygtt]Iafdni9%Y{&Ekg`Iafdni!P?Ia`nhcr]sm!+#i]kamg_tfyjnnl%E~;gg\\g65fnfcDrJfej'$`nla.%dp]" ) (EnScript.59 Name: "KGDialog" SourceCode: ",Kocmefd3Cqk`?tfygtt[y`jNhgpBfn-I^pF[yaug=khy<\"Xpm][ady'CjlF[skoaY`jeduek-l-EhqslB((\"mdjfLu`>tp3Amhh$%Uddcla%kjddemff[skoa%lm]lg'$%JtbcnflCcm]%AsldtikqYyanp.%]wkmjfis?m*L]y /+]Iafdni9%Y{&Ekg`Iafdni!P?Ia`nhcr]sm!+#i]kamg_tfyjnneoRqKklp65fnfcDrJfej'$Ma}ld*!+RqThskhj65fd)'! \"FuThyanp+9fhp]>~Ffed*?m]hc^3%RqBj^_p*BYCkZht_3>hp]>~Ffed*?m]hc^4%RqBqf`75f`nla.%ExEaahc6&Rgm?qahc'$DCH`j[jDht6.&\"FuH`j[j4'OjlHdhed$'CL;gg\\gGg}*!+RqHglf+*X]y;kk\\g-P?Bcg_jdhglf%RqSgqp6&X]sNZ^jd-Qc]ezk%Sc[%RqKklp6&I]ekgaKjteKklp-lm]lg=]yY3?dv?ejdik( RqQarv**I]q]sgKk|k% 0+7&u^hj[yjtbcnfllgmdt\\L{Eexl7&Cg_es]KjnoEexl-s!Wge{]wk`nHnfjYq$%Xhm]qk\\]q1Bkk_zdfj!.A}htfdpmefd'$!IZqxknYm$%Qas]`t('Msaugkofd%Itc]nfln[!\"%%YCkZht_3Gogg%" ) (EnScript.60 Name: "KGOKcomd" SourceCode: ",Kocmefd3Cqk`?tfygtt]Iafdni9%Y{&Ekg`Iafdni!P?Ia`nhcr]sm!+#i]kamg_tfyjnneoRqKklp65fnfcDrJfej'$Ma}ld*!+RqThskhj65fd)'! \"FuThyanp,9fty]skhqg$FffdxuboJf{aqqgijfy! \"^tp%5T^_y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% w]bqfijfimke%'!\"I~Ljps3'OjlY]wv!'!\"I~Ljps4'OjlY]wv!saq( jdx] \"%E~Ldzm-3KjlKc[aq 'J`fbqxIarvZjh]% qg\\krejfc\"geq!'! \"%E~Ldzm.3KjlKc[aq 'J`fbqxHgtpm-jj[nofas\\%)1\"&6-.( %RqSgqp6&X]sV^ty 'fhn%%OrPjpy*-U^pY]}l'$*.'!gg`" ) (EnScript.62 Name: "KGMenuUpdate" SourceCode: "y`dXba|B`x'CjlF[skoaIghdpZ^q]i<\"?=QKJ )asYgdd\"bb%Yhlhx^y`jed\"bo%Y%hnkgp%gwlwepnhtamvpm]r]ybpmsmlgkehkadn]n^% sj^Rn]|&Fgm=hlnndVaar]x&BqnjyB0+pm]s\"mBy`dXba|&L]sC\\pnnjLggfax&L]s*)%%ae\"!p3Ax EVAAR=.`p]- y&FgmBYYg&Ekg`Kajdc*OmYu]!+'CjlYqog9%KADN=[X@FHDRHESL.nt%%\"%%\"%%\"$y&L]sHM]g&Kamf?ejdi !Ua]u]'!-I^pYqu]?KAJDCaLDFHJETNMEUGNFS+\"%%lm]m\"%%^ntaf[me\"bj%l3?dv?PfZ3?dv?ejdik \"%%ae\"!b3AxLxr^Jzeg]q\"Zjik&HuOexagdd+pm]s\"%%dpZ^q]i<\"MNZ=\"%%ZqgZg%\"as\\ \"as\\gg`]s\\ U>HK&X]sGg]gdj\\'gg]gdj\\( " ) (Script.63 Name: "KGUnload" SourceCode: "' MyDialogExt.Unload\nDialog.DetachFromExtension(self)" ) (Script.64 Name: "KGCanUnload" SourceCode: "' MyDialogExt.CanUnload\nreturn (System.CanUnloadLibrary(self.GetDependencies.Get(0)))" ) (Script.65 Name: "KGInstall" SourceCode: "'DO NOT EDIT!!!\n\nif (av.getproject=nil) then return(nil) end\n\n\ntheDocs = SELF.get(0)\ntheControlList = SELF.get(1)\ntheMenuList = SELF.get(2)\ntheToolMenuList=SELF.Get(3)\ntheProject=Av.getproject\n\n\n'Add the Docs\n'\nfor each adoc in theDocs\n theProject.addDoc(adoc)\nend\n\n'Add the Controls\n'\nfor each totalControl in theControlList\n 'The Control list\n acontrol=totalControl.get(0)\n \n 'The physical control\n theControl = totalControl.get(1)\n \n 'The control Index\n theCindex=totalControl.get(2)\n\n 'Find the DocGUI\n theControlDoc=av.getproject.findGUI(aControl.get(0))\n if (theControlDoc=NIL) then \n MsgBox.Warning(\"The GUI \"+aControl.get(0)+\" cannot be found in the current project.\",\"Script Eror\")\n return(nil)\n end\n \n 'This finds the control set \n thecommand=\"av.getproject.findGUI(\"\"\"+aControl.get(0)+\"\"\").Get\"+acontrol.get(1)\n thescript1=Script.Make(thecommand)\n thecontrolset=thescript1.doit(\"\")\n \n 'Add the control to the control set\n theControlSet.Add(theControl,theCindex )\nend\n\n\n'Add the menus\nfor each totalcontrol in theMenuList\n \n 'The Control list\n acontrol=totalControl.get(0)\n mDoc=acontrol.get(0)\n mMenu=acontrol.get(1)\n mMenuItem=acontrol.get(2)\n\n 'The physical control\n theControl = totalControl.get(1)\n \n 'The control Index\n theCindex=totalControl.get(2)\n\n 'Find the DocGUI\n theControlDoc=av.getproject.findGUI(aControl.get(0))\n if (theControlDoc=NIL) then \n MsgBox.Warning(\"The GUI \"+aControl.get(0)+\" cannot be found in the c urrent project.\",\"Script Eror\")\n return(nil)\n end\n \n theMbar=av.getproject.findGUI(mDoc).GetMenuBar\n themenu=theMbar.findbylabel(mMenu)\n if (themenu=NiL) then\n themenu=menu.make\n themenu.setlabel(mMenu)\n theMbar.add(themenu,999)\n end\n \n themenu.add(thecontrol, theCindex)\nend\n \n \n'Add the Tool Menus\n\nfor each totalControl in theToolMenuList\n 'The Control list\n acontrol=totalControl.get(0)\n \n 'The physical control\n theControl = totalControl.get(1)\n \n 'The con trol Index\n theCindex=totalControl.get(2)\n\n 'Find the DocGUI\n theControlDoc=av.getproject.findGUI(aControl.get(0))\n if (theControlDoc=NIL) then \n MsgBox.Warning(\"The GUI \"+aControl.get(0)+\" cannot be found in the current project.\",\"Script Eror\")\n return(nil)\n end\n \n 'This finds the control set \n thecommand=\"av.getproject.findGUI(\"\"\"+aControl.get(0)+\"\"\").Get\"+acontrol.get(1)\n thescript1=Script.Make(thecommand)\n thecontrolset=av.getproject.findGUI(aControl.get(0)).GetToolBa r\n \n 'Add the control to the control set\n theControlSet.Add(theControl,theCindex)\nend\n\n\nav.getproject.setmodified(true)\n\n\n'And the scripts add themselves\n" ) (Script.66 Name: "KGUninstall" SourceCode: "'DO NOT EDIT!!!\n\n'The SELF is the Extension\n\ntheDocs = SELF.get(0)\ntheControlList = SELF.get(1)\ntheMenuList = SELF.get(2)\ntheToolMenuList=SELF.get(3)\ntheProject=Av.getproject\n\n\n'Add the Docs\n'\nfor each adoc in theDocs\n If (theProject.finddoc(adoc.getname)<>NIL) then \n theAnswer=msgbox.yesno(\"Remove the Document \"+adoc.getname+\"?\",\"Remove Document?\",TRUE)\n if (theAnswer=TRUE) then theProject.RemoveDoc(adoc) end\n end\nend\n\n'Removethe Controls\n'\nfor each totalControl in theControlList\n 'Get the control list from the Ext\n acontrol=totalControl.get(0)\n \n 'Get the physical Control\n theControl = totalControl.get(1)\n \n 'Get the Controls Index\n theCindex=totalControl.get(2)\n\n 'Find the DocGUI for the Control\n theControlDoc=av.getproject.findGUI(aControl.get(0))\n if (theControlDoc=NIL) then \n MsgBox.Warning(\"The GUI \"+aControl.get(0)+\" cannot be found in the current project.\",\"Script Eror\")\n return(nil)\n end\n \n 'This sequence finds the appropiate control set\n thecommand= \"av.getproject.findGUI(\"\"\"+aControl.get(0)+\"\"\").Get\"+acontrol.get(1)\n thescript1=Script.Make(thecommand)\n thecontrolset=thescript1.doit(\"\")\n\n 'See if the control is in the set , if so remove it\n if (theControlSet.GetControls.find(theControl)<>NIL) then\n theControlSet.remove(theControl)\n if (thecontrol = \"ToolBar\") then\n theControlSet.selectdefault\n end\n end\nend\n\n\n'Remove the Menus\n'\nfor each totalcontrol in theMenuList\n \n 'The Control list\n acontrol=totalControl.get(0 )\n mDoc=acontrol.get(0)\n mMenu=acontrol.get(1)\n mMenuItem=acontrol.get(2)\n\n 'The physical control\n theControl = totalControl.get(1)\n \n 'The control Index\n theCindex=totalControl.get(2)\n\n 'Find the DocGUI\n theControlDoc=av.getproject.findGUI(aControl.get(0))\n if (theControlDoc=NIL) then \n MsgBox.Warning(\"The GUI \"+aControl.get(0)+\" cannot be found in the current project.\",\"Script Eror\")\n return(nil)\n end\n \n theMbar=av.getproject.findGUI(mDoc).GetMenuBar\n themenu=theMbar.findbylabel(mMenu)\n if (themenu=NiL) then\n MsgBox.Warning(\"The menu named \"+mMenu+\" is not here.\",\"Script Eror\")\n 'return(nil)\n else\n \n thething=themenu.getcontrols.find(thecontrol)\n if (thething<>NIL) then \n themenu.remove(thecontrol) \n end\n 'msgbox.info(themenu.GetControls.count.asstring,\"\")\n if (themenu.GetControls.count<1) then\n theMbar.remove(themenu)\n end\n end\nend\n \nfor each totalControl in theToolMenuList\n 'Get the control list from the Ext\n acontrol=totalControl.get(0)\n \n 'Get the physical Control\n theControl = totalControl.get(1)\n \n 'Get the Controls Index\n theCindex=totalControl.get(2)\n\n 'Find the DocGUI for the Control\n theControlDoc=av.getproject.findGUI(aControl.get(0))\n if (theControlDoc=NIL) then \n MsgBox.Warning(\"The GUI \"+aControl.get(0)+\" cannot be found in the current project.\",\"Script Eror\")\n return(nil)\n end\n \n 'This sequence finds the appropiate control set\n thecontrolset=av.getp roject.findGUI(aControl.get(0)).GetToolBar\n\n \n 'See if the control is in the set , if so remove it\n if (theControlSet.GetControls.find(theControl)<>NIL) then\n \n theControlSet.remove(theControl)\n theControlSet.selectdefault\n end\n\nend\n \n\n'And the scripts delete themselves\n\nav.getproject.setmodified(true)\n'Clear global value\nav.ClearGlobals \n" )