Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

CreateGPSDDraft with multiple results issue

$
0
0
I'm trying to call CreateGPSDDraft function (new 10. SP1 ArcPy function) with multiple results parameter as described in this help topic:

http://resources.arcgis.com/en/help/...0000008z000000

Code:

toolOneResultFullPath = "C:/SCRIPTSTEST/ToolOneResult.rlt"
toolTwoResultFullPath = "C:/SCRIPTSTEST/ToolTwoResult.rlt"
arcpy.CreateGPSDDraft([toolOneResultFullPath , toolTwoResultFullPath ], "output.sddraft", "myservice")

But, I'm getting "Value Error: C:/SCRIPTSTEST/ToolOneResult.rlt" (Line 481 in "_base.py").

There's no errors if I'm calling CreateGPSDDraft function with any single result.

Any advice from Esri team?

Viewing all articles
Browse latest Browse all 2485

Trending Articles