Link 2 Parameter Property Lists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
You should move your post to this community to have a better chance to get an answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You need a double equal sign to make an if clause. Try:
If UNITS=="REF"
PURCHASE="-"
ENDIF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
