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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Conditional Statement in Drawing Format

mparmenteri
12-Amethyst

Conditional Statement in Drawing Format

Hello,

 

I need to add an entry into my drawing format that reads RELEASED if my drawing state is released and NOT RELEASED if the state is anything other than released.

 

I know I can use the &PDMRL parameter to report the current state, but how do I combine this with an IF statement to display RELEASED or NOT RELEASED?

 

Thanks,

Matt

2 REPLIES 2

We did this with a relation in a drawing repeat region although in practice there were some issues with it. It wasn't obvious for example to the user what session ID was being used (if there were more than one model in the drawing). Another issue was the parameter value isn't updated until an upload so whatever value is in your start part is what shows up initially (maybe obvious).

 

Ultimately we moved away from it and we now just use the windchill parameter as is.

You can use the Drawing Program option to achieve this directly in the Drawing.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags