How do I change the Units in 160 drawings?
How do I change the Units in 160 drawings?
(OP)
I have a group of 160 drawings that have the Units set to Engineering and I need to change them all to Decimal. How can I do this in one step outside of AutoCad?
I'm using LT 2009.
Frank





RE: How do I change the Units in 160 drawings?
filedia
0
open
[NAME OF FILE]
-units
2
2
1
2
0.00
n
save
close
Then repeat for each file name. It's crude but can work without having to learn LISP.
RE: How do I change the Units in 160 drawings?
I don't know what the numbers are for. Do they represent the listed items in the Units box? It shows Architecture as first, Decimal is second, etc. Is this what the 2 means? I usually just select Decimal then OK the box. What are the other numbers for, and the letter n?
Thanks for your help.
Frank
RE: How do I change the Units in 160 drawings?
I suggest you work on one file manually by typing the commands and writing down exactly what you type for the commands and responses.
Good luck!
RE: How do I change the Units in 160 drawings?
Frank
RE: How do I change the Units in 160 drawings?
add all your 160 dwg files that you need to perform the -units operation on, add the script file, let it run! i suggest doing it over lunch and keep your monitor on for everyone else to watch in amazement :)
RE: How do I change the Units in 160 drawings?
Create a new toolbar button.
In the Button Properties dialog box, assign the following macro to the new button:
^C^C-units 2 2 1 2 0 n
Mauro - Tecnocentro eng srl
www.tecnocentro.it