Skip to main content
1-Visitor
February 8, 2019
Question

Pro/Program

  • February 8, 2019
  • 2 replies
  • 1090 views

Hello! I have a query related to pro/program. If for example we have designated the thickness of plate as "thk" and we have a assembly which contains this plate. Now if we have to declare a conditional statement like "if (thk<=10)" is it possible to declare "if(thickness<=10)" instead of thk<=10. or should we declare thk=thickness before using it in conditionals? I am asking this because if complex assemblies are considered then it is difficult to remember all the dimensions.

2 replies

24-Ruby III
February 8, 2019

Hi,

if you use ... if(thickness<=10) ... in Pro/PROGRAM, then Creo must know thickness item. It must be name of dimension or parameter.

23-Emerald III
February 8, 2019

The system would not know that thk is thickness unless you declared it in a relation.

When you have many parts in an assembly, you also need to designate which part the variable is coming from. You could have multiple plates each having thk defined in them with different values.