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

Creating a object from another objects representation

Level 5

Creating a object from another objects representation

I am looking for a way to use the representation from a EPM Doc (in this case a PDF) to create a new WT Doc.  The worker is making the PDF on the EPM Doc but then that PDF is a starting point for a document that would have different rules and Life cycle from the original EPM Doc.  I thought that there was a republish command that would allow the result to be a new object.  Does anyone have experience doing this?

2 REPLIES
Highlighted

Re: Creating a object from another objects representation

I haven't personally done this but I think what you're looking for is the "AdditionalFilesPostPublishDelegate".

http://support.ptc.com/help/windchill/wnc/r11.1_m020/whc_en/#page/Windchill_Help_Center%2FWVSPublish...

 

AdditionalFilesPostPublishDelegate
 
The AdditionalFilesPostPublishDelegate is used with any CAD application that is supported by Windchill, and that can create the type of files indicated in the publish rules.
 
Once publishing is complete and a representation is stored, the AdditionalFilesPostPublishDelegate copies the content (additional files) of the representation to a WTDocument. This gives enterprise control and visibility of the published content separately from the CAD Document structure, while maintaining a record of the association through a PublishedContentLink. Also, the additional files may be deleted from the original representation using the delete-original <post-publish> parameter.
 
Furthermore, if the WTDocument already exists, the delegate code iterates the WTDocument, thus providing a means to track the history through the iteration history of the WTDocument.

Re: Creating a object from another objects representation

Thank you, we will take a look at this.