Skip to main content
Mar 23, 2017 1:51 PM UTC
Solved

Is there a method for showing PDMLink parameter values as upper case only on drawings?

I would like to show the lifecycle state parameter on drawings but the value delivered is not upper case.  Is there a font I can use that would force to upper case regardless?  I did not see an option to force text to be shown as upper case in text style.  I was surprise to not see anything in knowledge base on this. 

TomUAnswer
Mar 23, 2017 2:05 PM UTC

One possible workaround is to create a single cell repeat region and then use repeat region relations to display the uppercase equivalent.

IF PTC_WM_LIFECYCLE_STATE == "In Work"

    MY_STATE = "IN WORK"

ENDIF

The table cell would then use the syntax:  &rpt.rel.MY_STATE

5 replies

TomUAnswer
Mar 23, 2017 2:05 PM UTC

One possible workaround is to create a single cell repeat region and then use repeat region relations to display the uppercase equivalent.

IF PTC_WM_LIFECYCLE_STATE == "In Work"

    MY_STATE = "IN WORK"

ENDIF

The table cell would then use the syntax:  &rpt.rel.MY_STATE

Mar 23, 2017 5:55 PM UTC

Close but I think that it does not like format of the parameter call out in the filter.  I am doing this on a format so I could see it as a part model drawing or an assembly drawings. I could pull the parameter  from the drawing itself but that's not a repeat region choice.

Mar 23, 2017 8:13 PM UTC

Thank you. There was a step I missed: http://support.ptc.com/cs/cs_27/howto/dwt_relt/dwt_relt.htm

I had to first enter in the right parameter THEN do the relation THEN switch the parameters. Works now