cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to show number calculated in relations in Feet-Inch units?

AL_6480234
1-Visitor

How to show number calculated in relations in Feet-Inch units?

I am using Creo Parametric Release 8.0 and Datecode8.0.4.0

We manufacture round tanks and need to use a feet-inch tape on the shop floor. Need a way to show the tank circumference in feet-inches on the drawing. We calculate the circumference using a relation formula and can only display the number in inches. How to display in feet-inches?

ACCEPTED SOLUTION

Accepted Solutions

One of those responses is mine, suggesting a text way to show the dimension. Here's a simple few relations that will get a rounded value of the feet and inches into a text string...

circumouter = PI * diaouter
txtcircum   = ITOS ( floor ( circumouter / 12 ) ) + "'-"
txtcircum   = txtcircum + ITOS ( floor ( ( circumouter - 12 * floor ( circumouter / 12 ) ) ) + 0.5 ) + '"'

 

View solution in original post

2 REPLIES 2

One of those responses is mine, suggesting a text way to show the dimension. Here's a simple few relations that will get a rounded value of the feet and inches into a text string...

circumouter = PI * diaouter
txtcircum   = ITOS ( floor ( circumouter / 12 ) ) + "'-"
txtcircum   = txtcircum + ITOS ( floor ( ( circumouter - 12 * floor ( circumouter / 12 ) ) ) + 0.5 ) + '"'

 

Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags