Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
My company has a drafting standard that requires the dimension displays to be in decimal format. The parts are relationally driven. On occasion there is a part that we need to outsource, and the vendor requires shaft lengths to the nearest 1/16".
So is there a to keep the decimal display, but way to round the nearest .0625"?
Solved! Go to Solution.
Add a relation statement like this for any value that needs to be on a certain increment.
/* Round to nearest 1/16
IF MY_DIM != ((FLOOR((MY_DIM * 16) + 0.5)) / 16)
MY_DIM = ((FLOOR((MY_DIM * 16) + 0.5)) / 16)
ENDIF
Dual dimension with the dual units in fractions?
This is not possible at this time.
Add a relation statement like this for any value that needs to be on a certain increment.
/* Round to nearest 1/16
IF MY_DIM != ((FLOOR((MY_DIM * 16) + 0.5)) / 16)
MY_DIM = ((FLOOR((MY_DIM * 16) + 0.5)) / 16)
ENDIF
Brilliant!
Thanks, that did it.