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))
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.