Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

ExportToPDF script : allow overwrite validation

$
0
0
Hello,

I have a simple script that Export to Pdf the current Page_Layout of a mxd. I want to use it in a toolbox with a path parameter for the output. I have an error when I select an output that already exists. I suppose I have to code something about allowing overwriting in the validation of this parameter but I cant find any info about that.

Anyone can help?

Viewing all articles
Browse latest Browse all 2485

Trending Articles