Skip to main content
1-Visitor
January 16, 2023
Solved

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

  • January 16, 2023
  • 2 replies
  • 922 views

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?

Best answer by KenFarley

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 ) + '"'

 

2 replies

16-Pearl
January 16, 2023
KenFarley21-Topaz IIAnswer
21-Topaz II
January 16, 2023

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 ) + '"'