SEED File - Data Extract Tool or Export to CAD

529
1
02-20-2014 04:40 AM
JayHalligan
New Contributor III
I was wondering if it is possible to add extract data to CAD with a SEED File. I tried to build a model which works fine in desktop but fails as a service when uploading.
[ATTACH=CONFIG]31611[/ATTACH]

Any suggestions?

Also I have tried to add in the seed file to the python code with no success.
            # get path to zip
            outputinzip = os.path.join(zipFolderPath, layerName + featureFormat[2])
            if featureFormat[2].lower() in [".dxf", ".dwg", ".dgn"]:
                #Message "..using export to cad.."
                gp.AddWarning(get_ID_message(86139))
                gp.ExportCAD_conversion(outputpath, featureFormat[1], outputinzip, "", "", "c:/SEEDFILE.DWG")
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Jay,

  I have no experience what so ever with what you are attempting, but the first thing that jumps out at me is that it is very unlikely that the GP Service would have the appropriate permissions to do anything with a file in the root of the C: drive. You should place the seed file in a directory that the server will have access to.
0 Kudos