×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Drafting Dimension Rounding

Drafting Dimension Rounding

Drafting Dimension Rounding

(OP)
Is there a way to get all displayed dimension values to round up in V20?

For example:  6.1 to round up to 7.

The ROUND-UP option in the Units Tab of the dimension style editor only rounds values 5 and over.  Less than 5 and it rounds down. (settle down, I realize this is the standard method of rounding. Just need all numbers rounded up)
 

RE: Drafting Dimension Rounding

Hi,

I think you're screwed: I can't think of any way to do this
other than by programming a small macro or addin

dy

RE: Drafting Dimension Rounding

Or change them manually - but that's dangerous.

bc.
2.4GHz Core2 Quad, 4GB RAM,
Quadro FX4600.

RE: Drafting Dimension Rounding

There is away but it might be a bit long-winded if you have loads of dims.
Every dim you put on becomes a variable.
Open the variable table and locate one of you dims eg. V123
Now create a new variable called something like RND_V123 and set the formula to FIX(V123)+1
THIS WILL TAKE THE INETEGER PART OF THE DIMENSION AND ADD ONE TO IT.
Now turn off the display of the dimension text, and on the prefix/suffix set the Subfix to %{RND_V123}
Just in case you can't read these characters thats
"Percent", "LH Sqiggly Bracket" "RND_V123" "RH Squiggly Bracket"
You would need to do this for every dimension, each with it's own matching variable.

bc.
2.4GHz Core2 Quad, 4GB RAM,
Quadro FX4600.

RE: Drafting Dimension Rounding

(OP)
Unfortunately, this method adds 1 to all values including 6.0 which becomes 7.

The Round-Up option should probably be relabeled as ROUND because that's what it does. Almost seems like a bug to me.

Will start looking at using Excel for display of dimensions because =ROUNDUP(#.#) does what I need it to do there.

RE: Drafting Dimension Rounding

Hi,

this should do (assuming a max. of 2 decimals):

var1     3.12
var2     3.00
fix(var1+0.99)  --> 4.00
fix(var2+0.99)  --> 3.00

dy

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources