Carto Commander tool

371
0
02-08-2013 10:02 PM
babakkasraei
New Contributor II
Hi

I have selected some features in my map.
Now I need to store the selected features in the PLTS_CartoExceptions table located in the current production database and exclude them from cartographic feature processing by the Carto Commander tool.

It is something that the "Exclude Unselected Features" tool does.

I used some codes like this.


 product library and production database workspaces
inProductLibrary = "h:/project/MWQM.mdb"
inProductionDb = "h:/project/MWQM.mdb"

# AIS data model
inDataModel = "AIS Charting::10.1.0.0"

# input carto features
inFeatures = layer

# Instances maintained
inInstance = "Aeronautical::Enroute::Lower::SANFRAN::SANFRAN"

# execute Carto Commander
res = arcpy.CartoCommander_aeronautical(inProductLibrary, inProductionDb, inDataModel, inFeatures, inInstance)

print "Successfully created cartos in " + str(res.getOutput(0))



but they don't work.

How can I use these codes to exclude unselected features in my map?

I will appreciate it if somebody helps me.

Thanks

Babak
Tags (2)
0 Kudos
0 Replies