AnsweredAssumed Answered

problem with Field Mapping syntax in Pro 2.5

Question asked by jacquelinewillan on Aug 20, 2020
Latest reply on Aug 20, 2020 by jacquelinewillan

Hi, I'm having problem with the syntax for field mappings, using Pro 2.5.  I've tried:

PointBarriers = a point feature class

route = arcpy.nax.Route(NDLayerName)

pointFieldMappings = "BarrierType 0;CurbApproach 0;FullEdge 0"

route.load(arcpy.nax.RouteInputDataType.PointBarriers, PointBarriers,pointFieldMappings)

Thanks for help!