I???m trying to export to pdf just the selected data driven pages from a test mxd prepared, but I keep getting an error message. I???m writing in the python window in desktop the following lines: mxd = arcpy.mapping.MapDocument ("C:/Workspace/MyTESTS/DDP/MyDDP1K_Test.mxd") tempDDP = mxd.dataDrivenPages tempDDP.exportToPDF("C:/Workspace/MyTESTS/DDP/tempDDP.pdf","CURRENT") ??? test1...works fine tempDDP.exportToPDF("C:/Workspace/MyTESTS/DDP/tempDDP.pdf","RANGE","5-12") ??? test2...works fine tempDDP.exportToPDF("C:/Workspace/MyTESTS/DDP/tempDDP.pdf","SELECTED") --test3...error (I had 3 pages selected and it works fine when doing it manually)
Any help is appreciated...
Ulises Feliciano Troche