Skip to main content
3-Newcomer
February 8, 2023
Solved

relating a manual input in a region

  • February 8, 2023
  • 1 reply
  • 5136 views

I am using Creo Parametric Release 4.0 and DatecodeF000

I'm trying to make a .frm to use as a base sheet for multiple drawings. There is a section where some data will be manually input like height, weight, and length, and I'm trying to find a way to make other squares on the table auto spit out the metric version of the input data.
For instance, I would manually input 50 (in) into the length and the table auto fills the square next to it with 1270 (mm).
Alternatively, if set up parameters so the table would grab the weight (lbs) and then auto calculate the weight (kgs).
I get that I need to use relations to do this but I'm unclear on how to do the relation.
Thanks in advance.

Best answer by TomU

You're options are a little limited with Creo 4.0.  There are some extra repeat region parameters that have been added to newer versions of Creo that make referring to the parent model easier.  Regardless, here's how to do this:

 

Table Cell:  &mdl.param.value

Table Filter:  &mdl.param.name == WT

 

This will create a single cell repeat region that only displays that one parameter value from the active model (when the repeat region was created.)

 

Once that's working, you can add additional relations to manipulate the value of WT however you want and return something else.  Just remember to change the cell value to refer to your new custom parameter inside the relations.  (&rpt.rel.WT_KG or whatever.)

1 reply

24-Ruby III
February 9, 2023

Hi,

the mentioned functionality cannot be defined in the Drawing/Format mode, because these working modes do not enable to define relations. You have to define parameters & relations in Part mode and call these parameters in table cells.

 

3-Newcomer
February 10, 2023

What if I made the weight a parameter of the part, could I then set up a formula in the table to pull that weight and convert it to metric?

23-Emerald IV
February 10, 2023

Yes, but the approach changes slightly if this is a single part drawing or an assembly drawing.  Either way, a repeat region will be required.