Skip to main content
12-Amethyst
May 5, 2026
Question

Which event at loading a representation in Windchill?

  • May 5, 2026
  • 2 replies
  • 26 views

We would like to “react” to the loading of PDF representation on drawings (EPMDocument). The loading is done via the RepHelper  from Windchill Vieable Service in a separated process. 

Which event in Windchill should we listen at ? 

I thought ContentServiceEvent.POST_UPLOAD could be a good candidate, but i could not see it triggered during the load.

2 replies

17-Peridot
May 6, 2026

Hi ​@lmouchard,

Could you please clarify the use case?
Why is there a need to listen during the loading of a representation?

lmouchard12-AmethystAuthor
12-Amethyst
May 6, 2026

Hi ​@TDT, we would like to transfer this PDF representations to ERP for specific status. The user could then access them from the plant.

17-Peridot
May 6, 2026

In that case, you should be able to trigger it based on specific criteria whenever the publishing is successful. Alternatively, this may also be achievable through an EDR Loader.
Could you please clarify what you mean by “loading of representation”?

17-Peridot
May 6, 2026

Hi ​@lmouchard,

The PDF file is generated as part of the publishing process, during the conversion of the heavyweight model to a lightweight representation through CAD Workers.
You can always access the Representation PDF either through a Publish Success Listener or by using an EDR Loader.

lmouchard12-AmethystAuthor
12-Amethyst
May 6, 2026

Thanks, I’ll have a try with the event PublishServiceEvent.PUBLISH_SUCCESSFULL. I could not really find any documentation about it yet.

17-Peridot
May 6, 2026

You will have access to the Representation through the Publish_SUCCESSFUL event.
From there, you can retrieve all the relevant information related to the Representation.