# Thread: Script to change drawing UNITS

1. ## Script to change drawing UNITS

Registered forum members do not see this ad.

I am trying to creat a script....

I'm sure it is easy but to my novice brain I can't get it to work.
I simply want to change a drawings units to millimeters and not rescale anything.

I have tried -units but it doesn't give the option to change the actuall Drawing Units:

Any help would be appreciated
Cheers
Greg

2. I have renamed and relocated your thread to a better location for related responses.

All you do when creating a script is invoke a command on the command line and answer the prompts. Where are you hanging up?

Code:
```Command: -units
Report formats:      (Examples)

1.  Scientific      1.55E+01
2.  Decimal         15.50
3.  Engineering     1'-3.50"
4.  Architectural   1'-3 1/2"
5.  Fractional      15 1/2

With the exception of Engineering and Architectural formats,
these formats can be used with any basic unit of measurement.
For example, Decimal mode is perfect for metric units as well
as decimal English units.

Enter choice, 1 to 5 <4>:

Enter denominator of smallest fraction to display
(1, 2, 4, 8, 16, 32, 64, 128, or 256) <32>:

Systems of angle measure:      (Examples)

1.  Decimal degrees           45.0000
2.  Degrees/minutes/seconds   45d0'0"
5.  Surveyor's units          N 45d0'0" E

Enter choice, 1 to 5 <1>:
Enter number of fractional places for display of angles (0 to 8) <2>:

Direction for angle 0.00:
East    3 o'clock  =  0.00
North  12 o'clock  =  90.00
West    9 o'clock  =  180.00
South   6 o'clock  =  270.00
Enter direction for angle 0.00 <0.00>:

Measure angles clockwise? [Yes/No] <N>```

If you want to change the physical drawing from one that is 1 = 1 inch, 1 = 1 foot, 1 = 1mm, 1 = 1cm, 1 = 1m to another then rescaling the drawing is your only option.

3. If you have drawn in model space at 1-1 then its should only be a matter of selecting the correct scale when printing or saving your drawing shouldnt it ?

I have hundreds of drawings I have received. Many of them have the units set to inches, so I have to type UNITS and set it to millimeters, I am hoping to create a script to automate this process as well as setting a few other pararmeter but I can't get the units bit to work.

-units does not let me change the 'Drawing Units'

5. Originally Posted by gsteel
I have hundreds of drawings I have received. Many of them have the units set to inches, so I have to type UNITS and set it to millimeters, I am hoping to create a script to automate this process as well as setting a few other pararmeter but I can't get the units bit to work.

-units does not let me change the 'Drawing Units'
Yes it does. You just do not understand what drawing units "ARE" and "ARE NOT".

Originally Posted by SLW210
I have renamed and relocated your thread to a better location for related responses.

All you do when creating a script is invoke a command on the command line and answer the prompts. Where are you hanging up?

Code:
```Command: -units
Report formats:      (Examples)

1.  Scientific      1.55E+01
2.  Decimal         15.50
3.  Engineering     1'-3.50"
4.  Architectural   1'-3 1/2"
5.  Fractional      15 1/2

With the exception of Engineering and Architectural formats,
these formats can be used with any basic unit of measurement.
For example, Decimal mode is perfect for metric units as well
as decimal English units.

Enter choice, 1 to 5 <4>:

Enter denominator of smallest fraction to display
(1, 2, 4, 8, 16, 32, 64, 128, or 256) <32>:

Systems of angle measure:      (Examples)

1.  Decimal degrees           45.0000
2.  Degrees/minutes/seconds   45d0'0"
5.  Surveyor's units          N 45d0'0" E

Enter choice, 1 to 5 <1>:
Enter number of fractional places for display of angles (0 to 8) <2>:

Direction for angle 0.00:
East    3 o'clock  =  0.00
North  12 o'clock  =  90.00
West    9 o'clock  =  180.00
South   6 o'clock  =  270.00
Enter direction for angle 0.00 <0.00>:

Measure angles clockwise? [Yes/No] <N>```

If you want to change the physical drawing from one that is 1 = 1 inch, 1 = 1 foot, 1 = 1mm, 1 = 1cm, 1 = 1m to another then rescaling the drawing is your only option.
http://help.autodesk.com/kb/display.do?ROW_ID=1-GQC-870

I have in my current drawing a building that is 60'-0" (as dimensioned) or "as drawn" it is 720 DRAWING UNITS because I drew with 1 DRAWING UNIT to equal 1 INCH (60 x 12 = 720). Unless I rescale it the actual drawing will always be 720 DRAWING UNITS.

6. Perhaps we are suffering from a terminology problem. Gsteel, are you simply wishing to convert a drawing done in inches to millimeters? In other words, if you have a dimension that says 1" you want it to say 25.4mm, right? There are a couple of ways to do this. One is to go to the format menu, down to dimension style. Then pick one and click modify. Click on the tab that says "alternate units". Once that is done, look for "display alternate units" and put a check in the box. hit ok, then "set current" and "close". Any dimensions on your drawing using that dimension style will then display the imperial and the metric numbers.

If you want only the metrics, instead of clicking on the "alternate units" tab, click on "primary units". Down near the middle of the dialog box you'll see "measurement scale" with a box that says "scale factor". Enter 25.4 there and your dims will be in millimeters instead of inches.

7. from a similar thread the other day didn't somebody say ACAD Arch was different from vanilla for this sort of problem?

8. Ok maybe I am being a bit thick here.....

I have drawing all drawn at 1:1 scale in model space. Under the UNITS command they are all set to inches and I want them as mm. I can do it manuallt by typing UNITS and selecting mm from the first drop down (Drawing Units). It then asks me if I want to rescale the drawing and I say no. I have hundred of these to do I was simply hoping there was a script that would perform this automated. I am using Architecture 2011 if that is relevant.

@SLW210 - I am quite sure I am aware what a unit is thanks for the info tho.
@Jack - Our dimension come out in mm, I have a script that sets up my dims for me. thanks tho
@dbroada - I'm not sure what Vanilla is? In Autocad terms anyway

9. It is your option to refuse all the sound advise given you here, I hope you get this figured out.

In case you want to know, the answer you seek is in my original response to your question.

If you desire to be rude, then I will help you no further.

10. Registered forum members do not see this ad.

I have in no way been rude to any one please post my previous reply as proof!

In have indeen been through you first post as I have been though the help files I tried all variations and options non of which change the setting required.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts