Hi, I'm having a syntax problem with adding the accumulateAttributeNames property to the Route object, in a Python script in Pro 2.5. When I try with just one attribute it works, but when I add a second attribute there is an error on the Solve, so I must not have the right delimiter. I've tried with commas and semicolon:
Accumulators = "VehicleTrack,VehicleWheel"
#Accumulators = "VehicleTrack;VehicleWheel"
route.accumulateAttributeNames = [Accumulators]
What is the correct delimiter? thanks!
Solved! Go to Solution.
Thanks!
It needs to be a list of the string names of the attributes you want to accumulate.
route.accumulateAttributeNames = ["VehicleTrack", "VehicleWheel"]
Thanks!