Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Is There a Way of extracting an EPM Doc Version into a Post Publish Parameter Set?

$
0
0

I am trying to create a Windchill publish rule for generating a PDF document from a Creo drawing. Our CAD Worker by default creates .plt viewables, and I have written a Publish Rule that uses the "additional-files" option to also generate a pdf file when the Creo drawing is checked in. So far, so good!

 

However step two is to include a post publish action in the rule that creates a WTDocument with the PDF file attached to it. This does work using the DefaultPostPublishDelegate option, but here is the bit I can't do...

 

I would like the name of my WTDocument to include the EPM Documents number and the EPM Document version. There only seems to be substitution key for the EPM Document number {EPM_NUMBER}, there doesn't seem to be a key for {EPM VERSION}.

 

Does anybody have any neat tricks or ideas on how I could achieve this?

Is there some way of triggering a process after the WTDocument is created to do a rename?

Can it be fixed using Object Initialization Rules?

 

Any help would be greatly appreciated.

 

Thanks.


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>