gonzalo.capote

arcpy.CreateReplica_management

Discussion created by gonzalo.capote on Apr 4, 2011
Latest reply on Apr 5, 2011 by gonzalo.capote
Hi
I'm doing a script to automate the creation of replicas.
When I do it in the model builder working properly which is reasonable as it works on an open mxd and references to layers are easier to handle.

But when I try to run the same with python from the command line I get the following error:


  File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\management.py", line 708, in CreateReplica
    raise e
arcgisscripting.ExecuteError: ERROR 000582: Error occurred during execution.
Failed to execute (CreateReplica).

file attached createReplica_v1.0.py with the code


The problem would be in the parameter "tratamiento" (is a layer) of "arcpy.CreateReplica_management"
Even the selection of the "location " have verified that all is well.

thanks

Attachments

Outcomes