Jump to content

How can i get Autocad to round my dimensions ?


Recommended Posts

Posted

I draw my construction elements in mm (units).

The problem is the dimensions have to be represented on the DWG in cm,so i need Autocad to round them, per example 781 (mm) to become 78 (cm)

 

But when i go to the dimension style manager, i don't see where i can do that.

Posted

Type in "units" on the command line. That should open a dialog box that will allow you to set the precision to as few as no decimal places, all the way out to 8 decimal places.

 

--OR---hit format, dimension style, click on the one you want, and hit modify, then click "primary units" and you can set individual styles there.

Posted

I already went there; there's no command for rounding a number. You can only set the precision, and that's not what i need.

 

It's not a matter of going from 784,145 to 784,1.

I need to go from 784,1 to 78.

Posted
I already went there; there's no command for rounding a number. You can only set the precision, and that's not what i need.

 

It's not a matter of going from 784,145 to 784,1.

I need to go from 784,1 to 78.

 

That's what the precision setting does. It sets the display precision. Autocad calculates to 16 decimal places regardless of how many are displayed. If you want your dimensions to round to the nearest integer, set it for no decimals. If you don't believe me, hit F1 and see for yourself.

Posted

Or perhaps you are looking for the Dimrnd system variable.

 

From the help file:

You can round off all dimension values except those for angular dimensions. For example, if you specify a round-off value of 0.25, all distances are rounded to the nearest 0.25 unit. The number of digits displayed after the decimal point depends on the precision set for primary and alternate units and lateral tolerance values.

 

If you set this variable to 1 it will round all the dimensions up or down to the nearest integer, displayed with however many decimal places you set the precision level to.

Posted
I already went there; there's no command for rounding a number. You can only set the precision, and that's not what i need.

 

It's not a matter of going from 784,145 to 784,1.

I need to go from 784,1 to 78.

 

Why would you round from 784.1 to 78 though? Is the model not drawn at scale 1:1 as it should be? If its drawn at 1:1 simply change the precision to '0' and it will round 78.41 to 78.

 

If you don't want to scale/correct the model, you could modify the 'Dim scale linear' by a factor of 10 and should get the same result when used in conjunction with the above precision settings.

Posted
Or perhaps you are looking for the Dimrnd system variable.

 

From the help file:

You can round off all dimension values except those for angular dimensions. For example' date=' if you specify a round-off value of 0.25, all distances are rounded to the nearest 0.25 unit. The number of digits displayed after the decimal point depends on the precision set for primary and alternate units and lateral tolerance values. [/i']

 

If you set this variable to 1 it will round all the dimensions up or down to the nearest integer, displayed with however many decimal places you set the precision level to.

 

You don't understand.

Setting the precision setting to no decimal still leaves me with dimensions in mm.

 

As i said, if i have 87 (mm) i want autocad to round it and display 9.

Posted

Alright, I re-read your first post...you're not talking about rounding the dimensions, you want to convert to a different unit of measure. I got thrown off by your errant terminology. Sorry, I didn't catch that at first. You can turn on alternate units, set the mulitplier at 10 with a precision of zero and it will show it both ways. A dimension of 2.9281 would show up in the arrows as

2.9281[29], or if you just want the 29 you can set measurment scale factor at 10, with a precision of zero and it will change 2.9281 to 29.

Posted
Alright' date=' I re-read your first post...you're not talking about rounding the dimensions, you want to convert to a different unit of measure. I got thrown off by your errant terminology. Sorry, I didn't catch that at first. You can turn on alternate units, set the mulitplier at 10 with a precision of zero and it will show it both ways. A dimension of 2.9281 would show up in the arrows as

2.9281[29'], or if you just want the 29 you can set measurment scale factor at 10, with a precision of zero and it will change 2.9281 to 29.

 

I've just done that.

The problem is i don't want both units to show; just the alternate one and not inside commas.

Posted
I've just done that.

The problem is i don't want both units to show; just the alternate one and not in commas.

 

As above, set a scale factor of 10 for the dimensions. For the commas, that is a region setting isn't it?

Posted
As above, set a scale factor of 10 for the dimensions. For the commas, that is a region setting isn't it?

 

Cheers, setting the scale factor to 0.1 and the precision to 0 did it.

 

Thanks a lot for everyone who contributed.:D

Posted

Ok, just turn off the alternate units then on the Primary Units tab set the Measurment scale factor to 10. You'll find near the middle of the dialog box. That will do what you want I think.

Posted
commas? what commas?

 

In some European countries it is standard to write 10,25 instead of 10.25 with a comma serving the same purpose as other countries use with the decimal place (period).

Posted
In some European countries it is standard to write 10,25 instead of 10.25 with a comma serving the same purpose as other countries use with the decimal place (period).

 

I did not know this. I saw it in the OP's post, but thought it was a typo. Do commas appear as separators in large numbers like 10,000? That would get very confusing if it did.

Posted
I did not know this. I saw it in the OP's post' date=' but thought it was a typo. Do commas appear as separators in large numbers like 10,000? That would get very confusing if it did.[/quote']

 

I would write it as 500,425,562.95 say, while in Europe (and it depends on the country, they all vary slightly) that is also commonly done as 500.425.562,95

Posted
I would write it as 500,425,562.95 say, while in Europe (and it depends on the country, they all vary slightly) that is also commonly done as 500.425.562,95

 

I confirm.

Posted
I would write it as 500,425,562.95 say, while in Europe (and it depends on the country, they all vary slightly) that is also commonly done as 500.425.562,95

 

That's very interesting. If I had seen a number written that way, I would not have known what it was. I will have to dig into that, discover it's origins. I enjoy seeing how other people and cultures do things. This has given me something new to go learn about. Thanks for sharing this guys.

Posted

in the last issue of BS308 (replacement) that we had in the office (about 10 years ago!) we read that the UK is supposed to use the comma rather than a full stop for the decimal separator and a space if required for grouping large numbers.

 

Therefore I would probably write 500 425 562,95 although that may have to be modified if there was a possiblity of a list of numbers.

 

Most of our drawings now use commas but you have to remember that AutoCAD & Windows still need full stops.

Posted
Why would you round from 784.1 to 78 though? Is the model not drawn at scale 1:1 as it should be? If its drawn at 1:1 simply change the precision to '0' and it will round 78.41 to 78.

 

If you don't want to scale/correct the model, you could modify the 'Dim scale linear' by a factor of 10 and should get the same result when used in conjunction with the above precision settings.

 

That would be the correct way. If you want to measure in cm, you need to draw in cm. Rescale the model by .1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...