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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Link 2 Parameter Property Lists

MORECREO
12-Amethyst

Link 2 Parameter Property Lists

- Creo7 -

 

Hey, I have been stuck trying to create a parameter for this instance.

I have a UNITS parameter column with predefined parameter properties aka "values" list

I then have a PURCHASE parameter column which also has predefined parameter properties aka "values" list.

 

The only connection I want, is that when the UNITS value is set to "REF", I then want the PURCHASE column to display a "-" (aka dash)

 

Placing the following string is the closest I've got so far...

If UNITS="REF"

PURCHASE="-"

ENDIF

 

But this appears to just be a check and notifies me when they are off.

I just want to be able to use my value drop down on the UNITS or PURCHASE parameter freely with the exception that when I select "Ref" in the UNITS column, the PURCHASE column automatically switches to "-"

 

This seems achievable right?

 

If it helps, my UNIT values are just: EA,  REF,  PKG,  X and the PURCHASE VALUES ARE: N/A,   X,   -

 

Thanks in advance!

ACCEPTED SOLUTION

Accepted Solutions
BenLoosli
23-Emerald II
(To:Pettersson)

A single '=' sets the value on the right to the variable name on the left.

A double "==" does a comparison or a check for the value of the variable on the left to see if it is equal to the value on the right.

 

 

View solution in original post

3 REPLIES 3

You are in the wrong forum.

 

PTC has two CAD systems:    Creo Parametric    and     Creo Elements Direct.

 

Which makes it confusing.

 

More, for Creo Elements Direct:

- The 3D software name is Modeling, and

- The 2D software name is Drafting.

 

For Creo Parametric, use only this tab:

KotomEng_0-1697862208736.png

 

 

 

You should move your post to this community to have a better chance to get an answer.

 

 

http://kotom.eng.free.fr
Pettersson
15-Moonstone
(To:MORECREO)

You need a double equal sign to make an if clause. Try:

 

If UNITS=="REF"

PURCHASE="-"

ENDIF

BenLoosli
23-Emerald II
(To:Pettersson)

A single '=' sets the value on the right to the variable name on the left.

A double "==" does a comparison or a check for the value of the variable on the left to see if it is equal to the value on the right.

 

 

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags