I have a boolean parameters define on the start part.
The parameter have the default value FALSE
This parameter have to become TRUE if the number contain '-G' caracters string.
Is it possible use some kind of expression to do so during the generation of part, before the saving?
Many tanks for your aswer
Seems like you want to set a parameter to be "YES" based upon whether another parameter contains the text "-G". You need a relation.
For example, if
paramName is the string parameter with your "name"
paramBool is the YES/NO (boolean) parameter you want to set
Something like this needs to be in your relations:
paramBool = NO
IF search ( paramName, "-G" ) > 0
paramBool = YES
Or, perhaps you could use
paramBool = ( search ( paramName, "-G" ) > 0 )
I don't know if the second one will work, but it might.
At the end my right expression is:
GREZZO = NO
IF (search(PRO_MP_CSYS,"-G") > 0)
GREZZO = YES
Your suggestion was very helpfull
Number is the WindChill name of code for the Drawing, in any case it's ok every parameters that contain for example the file name.
I need that when the file name contaiun "-G " string a specific parameter is set TRUE
Thnaks for your attention