Skip to main content
12-Amethyst
January 9, 2023
Solved

Program function IF ?

  • January 9, 2023
  • 1 reply
  • 1975 views

Hello everyone,

I would like to know if there is a function IF or one who look a like in CREO.

I cant find one on the Forum or on CREO.

An by the way, what is the language in CREO.

I work on creo since a couple of months so i'm not really use to it.

I hope someone will read it .

Thank youu for reading ! 

 

Best answer by TomU

Creo Parametric's built-in programming support (Relation Pro/Program, Drawing Program, etc.) uses it's own internal language.  There is no looping allowed, so no WHILE, GOTO, or anything like that.  You can read more about it here:

https://support.ptc.com/help/creo/creo_pma/r9.0/usascii/#page/fundamentals/fundamentals/About_Relations_1.html#

1 reply

23-Emerald III
January 9, 2023

You will probably get a better answer if you explain what you are trying to do instead of asking for a specific function.

There are multiple areas you can add functions. Pro/Program, relations, repeat region relations.

 

12-Amethyst
January 9, 2023

Yes,

my bad. 

I write IF but I mean WHILE 

 

TomU23-Emerald IVAnswer
23-Emerald IV
January 9, 2023

Creo Parametric's built-in programming support (Relation Pro/Program, Drawing Program, etc.) uses it's own internal language.  There is no looping allowed, so no WHILE, GOTO, or anything like that.  You can read more about it here:

https://support.ptc.com/help/creo/creo_pma/r9.0/usascii/#page/fundamentals/fundamentals/About_Relations_1.html#