import sys, string, os, arcgisscripting gp = arcgisscripting.create() gp.AddToolbox("filepath/Data Management Tools.tbx") gp.AddToolbox("filepath/Mark Toolbox.tbx") from getValue import * String = fval #This has to be the value from the GetValue script VCI_Laag = "filepath\\Symbology_Files\\"+String +".lyr" Grondsoorten_Verzadigd = "Grondsoorten_Verzadigd" gp.ApplySymbologyFromLayer_management(Grondsoorten_Verzadigd, VCI_Laag)
import sys, string, os, arcgisscripting gp = arcgisscripting.create() gp.AddToolbox("filepath/Data Management Tools.tbx") gp.AddToolbox("filepath/Mark Toolbox.tbx") String = ? #This has to be the value from the GetValue script VCI_Laag = "filepath\\Symbology_Files\\"+String +".lyr" Grondsoorten_Verzadigd = "Grondsoorten_Verzadigd" gp.ApplySymbologyFromLayer_management(Grondsoorten_Verzadigd, VCI_Laag)
import arcgisscripting gp = arcgisscripting.create(9.3) intable = gp.GetParameterAsText(0) infield = gp.GetParametersAsText(1) # open cursor rows = gp.searchcursor(intable) row = rows.next() fval = row.GetValue(infield) gp.SetParameterAsText(2, str(fval))
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.