Page tree
Skip to end of metadata
Go to start of metadata

If you know the preceding event, you can write code that recreates that event within the current rule and accesses the data.

The coding has the following limitations:

  • If you use the wrong type, a runtime error will occur.
  • The information in these old events is stale. If a Refine action creates some pages, events that occurred before the refine process won't have access to those pages.


' Casting the very first event in this rule to its type
Dim myRootEvent As
Creo.PWS.Automation.GenericDataModel.GenericUserStartEvent =


' Casting the previous event in this rule to its type
Dim myRefineOkEvent As
CreoCreo.PWS.Automation.PrinergyDataModel.InputFileRefinedOk =

  • No labels