I want to export maps that I have created on ArcMap 10.1 with the following python code (see attachment).
The map save in jpg in a specific folder. I've tried this code before and it worked. I just changed the folder's name in the code and tried to export other maps from the same project and it won't work : it just produces an error code.
Can someone help find a solution?
it failed at the print statement. do you have a field called "no_lot" in your table or are you looking for a value called that
getValue (field_name) | Gets the field value. |
We do have a field called ''no_lot'' in our table. The value of ''no_lot'' is the name of the jpg printed.
It failed on the getValue, are you sure that the only thing that you changes was the destination path?
Yes I'm sure. Should I import the table again? I'm actually working on a project that was started by another colleague that no longer works here, so I'm not sure how he did all this. I have changed some things in the Excel table, but nothing about the no_lot column.