agarem

Runtime error adding tables to field mapping

Discussion created by agarem on Jan 14, 2013
Latest reply on Jan 14, 2013 by jesuspisto
I am not sure what I am doing wrong here. Any suggestions??
import arcpy
 
targetFeatures = "W:\ENG\Geomatics\GIS\Map & Data Requests\Contracts\Maintenance\Culverts\Data\Culvert Utilities\Culvert_subset.shp"
joinFeatures = "W:\ENG\Geomatics\GIS\Map & Data Requests\Contracts\Maintenance\Culverts\Data\Culvert Utilities\5yrContract_subset.shp"
 
outfc = "W:\ENG\Geomatics\GIS\Map & Data Requests\Contracts\Maintenance\Culverts\Data\Culvert Utilities\Culvert_5YCP.shp"
 
fms = arcpy.FieldMappings()
fieldmappings.addTable(targetFeatures)
fieldmappings.addTable(joinFeatures)

Outcomes