cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Restricted parameter and relation

PierDile
7-Bedrock

Restricted parameter and relation

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


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
ACCEPTED SOLUTION

Accepted Solutions

Thank you !!

You're right

It works with single equal sign.

Bye

Pier


View solution in original post

3 REPLIES 3

Pier,

use single equal sign to assign the value to the parameter

IF ...

parameter_name ="value"

ENDIF

Martin Hanak


Martin Hanák
SylvainA.
12-Amethyst
(To:PierDile)

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


Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags