Skip to main content
1-Visitor
January 15, 2015
Question

Data Format!

  • January 15, 2015
  • 4 replies
  • 2155 views

Hallo!

WindChill create in Creo part parameter named PTC_WM_MODIFIED_ON. It show date of the last modification.

Default format is: %dd-%Mmm-%yy [expl. 15-Jan-15].

How can I change format to: %mm/%dd/%yy [expl. 15/01/15]

Please Help!

4 replies

23-Emerald IV
January 15, 2015

Use the hidden config.pro option "date_type_parameter_format" in Creo.

See https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS49539 for more information.

14.PNG

1-Visitor
January 16, 2015

Thanks a lot!

Can I do this the same with PTC_WM_CREATED_BY and PTC_WM_MODIFIED_BY.

I want on my drawings only initials of person.

23-Emerald IV
January 16, 2015

No, not really.  You can configure these two values to either display the email address or the username.  To extract just the initials, you would need to manually parse the text string and then assign the value to a new parameter in Creo.  Something like this (all on one line):

INITIALS = EXTRACT(PTC_WM_MODIFIED_BY,1,1)+EXTRACT(PTC_WM_MODIFIED_BY,(SEARCH(PTC_WM_MODIFIED_BY," ")+1),1)

Take a look at these pages for more info:

http://communities.ptc.com/thread/51654

http://communities.ptc.com/ideas/3857

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS176501

1-Visitor
January 19, 2015

Thanks, I have setted relations as I wanted to.

But is the way to add all new relations to old parts and assemblies I have in WindChill?