Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

set decimal places for the length measure 2

Status
Not open for further replies.

BABUGOUDA

Automotive
Jul 5, 2013
45
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
 
Replies continue below

Recommended for you

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.

 
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
download.aspx


Dialog box displayed decimal places = 4
download.aspx


www.nxjournaling.com
 
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.

DistanceMeasureDecimalPlaceControl_zps59343abb.png


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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor