×
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

set decimal places for the length measure

set decimal places for the length measure

set decimal places for the length measure

(OP)
Hello,
I am measuring length between two points and length= 0.6789 mm. i need decimals to be round off to two places i.e 0.68mm
I tried with setting preference-- user interface preferences -- displayed decimal places it worked for information window and showed in the notepad as 0.68mm but displayed as 0.6789mm on NX screen
I am using NX8..
Please can any body help me?
Thx
BGD

RE: set decimal places for the length measure

You can create a new variable to output the desired truncated value:

truncated_value=(round(value*100))/100

The "100" value can be replaced by any multiple of ten to control the number of decimal points.

RE: set decimal places for the length measure

In the user interface preferences, change the displayed decimal places -> dialog box option.

www.nxjournaling.com

RE: set decimal places for the length measure

If it doesn't work for you, you may want to take it up with technical support.

I started a new file and created a line then copied it in the X direction by 9.87654321mm. Below are the results I get:

Dialog box displayed decimal places = 2


Dialog box displayed decimal places = 4

www.nxjournaling.com

RE: set decimal places for the length measure

After you do the 'measure' but before you close the dialog, go to the section of the dialog labeled 'Results Display' and set the 'Annotation' option to 'Show Dimension' and then hit OK. The 'measurement' will now be displayed using the proper number of decimal places as set in' the 'Dialog Box' option in Preferences.



Note that the 'measurement' will remain visible until you do a display 'Refresh'.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

RE: set decimal places for the length measure

(OP)
Cowski: Thanks , with your suggestion it works most of the times but some times it wont as a showed in image i dont know why and when it does'nt work we need to set the 'Annotation' option to 'Show Dimension' and then hit OK as per John. then it works..

Thanks John..

Thanks every body
BGD

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