I'm am attempting to export models from Plant 3D using ExportToAutoCAD. However, I don't want to be prompted as to whether I want to overwrite, I just want it to save these files out, whether the file exists or not.
My lisp skills are sorely lacking but I thought I might try this statement, but my syntax is incorrect:
((if(findfile DWGN2))(command "-EXPORTTOAUTOCAD" "2010" DWGN2 "y")(command "-EXPORTTOAUTOCAD" "2010" DWGN2))
What is the correct way to write this?
There is probably much better way to accomplish this task so any help would be much appreciated!
Thanks,
Mitch