Skip to main content
1-Visitor
February 4, 2015
Solved

Displaying Feet and Inches in a Drawing (Creo 2.0)

  • February 4, 2015
  • 3 replies
  • 10680 views

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.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by dnordin

See PTC Document CS21479; This will change every dimension though.

  • Set config.pro options
    • create_fraction_dim yes
    • dim_fraction_format std


https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS21479&posno=1&q=feet%20and%20inches&ProductFamily=Creo%20%26%20Pro%2FENGINEER%7CCreo%20Simulate%20%26%20Pro%2FMechanica&source=search

Regards,

Dan N.

3 replies

dnordin16-PearlAnswer
16-Pearl
February 4, 2015

See PTC Document CS21479; This will change every dimension though.

  • Set config.pro options
    • create_fraction_dim yes
    • dim_fraction_format std


https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS21479&posno=1&q=feet%20and%20inches&ProductFamily=Creo%20%26%20Pro%2FENGINEER%7CCreo%20Simulate%20%26%20Pro%2FMechanica&source=search

Regards,

Dan N.

Mahesh_Sharma
22-Sapphire I
February 4, 2015

Along with config options from Daniel add drawing option use_major_units as yes

wjamieson1-VisitorAuthor
1-Visitor
February 4, 2015

Thank you. Any way to do this for just one dimension in the drawing?

Mahesh_Sharma
22-Sapphire I
February 4, 2015

It will apply to all dimensions in drawing, however you can try changing other dimensions to Decimal from dimension properties.

KenFarley
21-Topaz II
February 4, 2015

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.