Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I have a parameter (string) controlled by an external file ( using restricted_val_definition option ).
No problem if I change the parameter value directly using the drop-down menu in the parameter panel.
But if I change the value in "Relation panel" for special conditions
IF ...
parameter_name =="value"
ENDIF
ProE doesn't change the parameter and an error comes up !
The name "value" is typed correctly .
Same problem with other types of Parameters (number ,...)
I tried with WF5 and Creo1.
Any idea ?
Thanks a lot
Pier
Solved! Go to Solution.
Pier,
use single equal sign to assign the value to the parameter
IF ...
parameter_name ="value"
ENDIF
Martin Hanak
Martin is right.
Two equal signs (==) means comparison.
Single equal sign (=) means assignment.
Example:
IF d1==20
d2=10
ENDIF
Thank you !!
You're right
It works with single equal sign.
Bye
Pier