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

Pro/Program

Garnet

Pro/Program

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 2

Re: Pro/Program

Hi,

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


Martin Hanák

Re: Pro/Program

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.