Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello!
We have a custo in Windchill 10.0 that is listening for events.
To be able to capture "check in" events the following events are used:
WorkInProgressServiceEvent.POST_CHECKIN - In case of Creo checkin on existing CADDocument
PersistenceManagerEvent.POST_STORE - I case of new CADDocument.
The two events above however does not cover the case when Catia is used via WGM.
Does anyone have any ideas if there exists such an event that could be used for this use-case?
My current approach is to set below property and capture events that look like possible candidates:
wt.services.verboseEvents=true
This approach is rather time consuming since a check in will trigger lots of events and most of them are dead ends and waste of time.
So I thought someone in here might be able to give me a hint?
Thanks and best regards,
Peter
Hi
probably you could use the event PRE_WORKSPACE_CHECKIN or POST_WORKSPACE_CHECKIN.
Class: EPMWorkspaceManagerEvent
Regards
Thanks Björn!
This looks promising.
Got this when printing the event target:
eventTarget: {wt.epm.EPMDocument:5151958536=null}
Will add some more code to evauluate exactly what I got.
Thanks and best regards,
Peter