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

Data Format!

jżołądź
4-Participant

Data Format!

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 4
TomU
23-Emerald III
(To:jżołądź)

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

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.

TomU
23-Emerald III
(To:jżołądź)

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

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?

Announcements