Skip to main content
avillanueva
23-Emerald I
March 23, 2017
Solved

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

  • March 23, 2017
  • 1 reply
  • 2465 views

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. 

Best answer by TomU

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

1 reply

TomU23-Emerald IVAnswer
23-Emerald IV
March 23, 2017

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

avillanueva
23-Emerald I
March 23, 2017

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.

avillanueva
23-Emerald I
March 23, 2017

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