The PTC Community will be on read only status starting March 23rd in preparation for moving our platform to a new provider. Read more here
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.
Hi,
if you use ... if(thickness<=10) ... in Pro/PROGRAM, then Creo must know thickness item. It must be name of dimension or parameter.
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.
