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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Creating a object from another objects representation

klozier
8-Gravel

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 2
TomU
23-Emerald IV
(To:klozier)

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%2FWVSPublishRulesPostPublishAdditional.html%23

 

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.
klozier
8-Gravel
(To:TomU)

Thank you, we will take a look at this.

Top Tags