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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Naming convention for PDFs in windchill .-cad worker

vicor3
6-Contributor

Naming convention for PDFs in windchill .-cad worker

every time we release a drawing in the Windchill, the CAD worker, creates a PDF of it.

like image pdf_number_drw.pdf.

 

Any idea of how can I change that, we need it to be ( number_REVA.pdf)

Screenshot 2024-05-17 134313.png

 

Thank you for your help in advance.

ACCEPTED SOLUTION

Accepted Solutions
avillanueva
22-Sapphire II
(To:vicor3)
3 REPLIES 3
avillanueva
22-Sapphire II
(To:vicor3)

I second @avillanueva here - we have been using this method for quite a while. 

@vicor3 

I’ve done a lot of this stuff with an afterloader method.

 

Do you know Java and are you able to write Java code for Windchill? If yes, you should be all set. Just write your code and point the afterloader property to your method.

 

You might also consider writing a utility to rename existing published PDFs per your naming convention. I would, why not fix the entire database. 

 

The afterloader property can be set to run any Java method you want to do anything you want.

By anything I mean anything that can be written in any Java code can be run. Maybe you want to rename a pdf or maybe you want to detect if it’s Mother’s Day and send mom a happy Mother’s Day email.  That’s how flexible this is. The sky’s the limit .😁

 

BTW, The same thing can be accomplished with a listener, but I’d go with the afterloader property, why not, that’s what it’s for.

 

David

Announcements

Top Tags