Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi all,
I currently have a drawing with all dimensions in inches. However, one of the dimensions is rather large, and I would like it to display in both feet and inches in the drawing. For Example: instead of displaying 420 7/16, I would like it to display 35' - 0 7/16", or something along those lines. Is there a way to do this in Creo? All help is appreciated! FYI: I am currently using Creo 2.0.
Solved! Go to Solution.
See PTC Document CS21479; This will change every dimension though.
Regards,
Dan N.
See PTC Document CS21479; This will change every dimension though.
Regards,
Dan N.
Along with config options from Daniel add drawing option use_major_units as yes
Thank you. Any way to do this for just one dimension in the drawing?
It will apply to all dimensions in drawing, however you can try changing other dimensions to Decimal from dimension properties.
One perhaps horrible or maybe not way to do this would be to
(1) Use relations to calculate the feet, inches combo dimension and assign it to a string. It'll be a somewhat complicated set of relations, especially to calculate the fractional inch bit, but it's something like
txtDimStuff = itos ( dimX / 12 ) + "ft - "
if ( floor ( dimX - 12 * floor ( dimX / 12 ) > 0 )
txtDimStuff = txtDimStuff + itos ( dimX - 12 * floor ( dimX / 12 ) )
else
txtDimStuff = txtDimStuff + "0"
endif
txtDimStuff = txtDimStuff + "-"
txtDimStuff = txtDimStuff + <<fractional stuff here>>
(2) On the drawing, create a drawn dimension, then change it so instead of an actual dimension, it says
@o&txtDimStuff
That should show the calculated number in the format you want.
Sorry I didn't do the algorithm for the fractional conversion, but time crunch and all that.