Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I am building an assembly in Creo 2.0 and got an error shown below. This is causing a "yellow light" regeneration as well. Any ideas?
Solved! Go to Solution.
I have not tested this but that is the way I am interpretting several previous case resolutions. They seem to say that if you try to extract a certain amount of characters from a string that has a total number of characters less than that number, you will see this message.
This is copied from a previous case:
"IF EXTRACT(DESCRIPTION,70,1))==""
In the above line, without checking if the String parameter contains 70 characters or not, you have used 70 in EXTRACT function.
If the string_length of the parameter DESCRIPTION is not greater than 70, Creo Parametric stops relations execution with error message "warning: Probable error in function evaluation".
Floyd, are you running the version manager extension?
Antonius,
See below. Not sure if I am or not.
I guess this could be a PDM link thing. I have never been warned of a -POSSIBLE- function error. It either IS or it ISN'T! As a matter of fact, I've never been warned of ANY function error.
Floyd,
Were you able to locate the source of the problem?
Floyd,
Possibly this is due to relations in part 10812197. Check and verify the relations.
This message is given when the EXTRACT function is used in Relations when the parameter length is greater as the parameter name to be extracted.
Please confirm - is this error generated when trying to Extract characters beyond what the target string contains?
Extract("12345",5,2) creates an error message because it can't extract the character beyond the fifth one?
I have not tested this but that is the way I am interpretting several previous case resolutions. They seem to say that if you try to extract a certain amount of characters from a string that has a total number of characters less than that number, you will see this message.
This is copied from a previous case:
"IF EXTRACT(DESCRIPTION,70,1))==""
In the above line, without checking if the String parameter contains 70 characters or not, you have used 70 in EXTRACT function.
If the string_length of the parameter DESCRIPTION is not greater than 70, Creo Parametric stops relations execution with error message "warning: Probable error in function evaluation".
Thanks. That's funny. Most languages produce a 'subscript of range' message and could tell what the string and subscript was so the user had an idea where to look for the problem, like:
Relation evaluation error: extracting character 70 in DESCRIPTION with string length 45; model name PLATE
You're just spoiled, David
Sorry for the delay, I was on vacation last week. Thanks Clint for the help.