help script make service area

325
1
05-11-2013 12:20 PM
Highlighted
New Contributor
I need help with this code, when you pass it to a script will not let me use it I get error I wonder if anyone can help
is to conduct a second service area few points that are patient


______________________________________________________________________________________________
import arcpy
arcpy.env.overwriteOutput = True
net="F:\Auxiliatura\Aprendiendo Argis\SISTEMAS\Cluster.mdb\MallaVialConCluster\MallaVialConCluster_ND"
arcpy.MakeServiceAreaLayer_na(net,"AreaDeInfluenciaPacientes","Length","TRAVEL_FROM","500, 1000","SIMPLE_POLYS","NO_MERGE","RINGS")
arcpy.AddLocations_na("AreaDeInfluenciaPacientes","Facilities","Pacientes","","")
arcpy.Solve_na("AreaDeInfluenciaPacientes","SKIP","CONTINUE")

______________________________________________________________________________________________
Tags (2)
Reply
0 Kudos
1 Reply
Highlighted
Esri Regular Contributor
Please post the error message.  That will help us figure out what's wrong.
Reply
0 Kudos