I'm posting this here because as surveyors we use a lot of different scales for maps.

I would like help with a script or lisp routine.....

open a .dwg
get cannoscalevalue
divide 1 by this number to get an integer for the map scale
saveas by appending the file name with this number

so
foo.dwg (1:20 cannoscale) becomes foo20.dwg


I would like to process multiple files as well.

I have done the usual web searches but I dont know enough lisp
to know if a particular product can do all this.


Thanks