CAD Output Builder Events


List of builder events and when they are executed.

Events

Event Description
Load Run when the extension in initially loaded.
Close

Run when the output builder is closed.

OnInstallNewVersion Run when Epicor CPQ output builder is updated. Used to customize the Epicor CPQ install in some enterprise situations.
OnBeforeExecOutputRules Run before the output Snap rules are evaluated by the output builder on a local machine.
OnAfterExecOutputRules Run after the output Snap rules are evaluated but before the build starts. Used to set instantiated variables for the m_build, m_quote, m_configurator, and m_utilities that can be accessed in the cad events. 
OnBeforeBuild Run before the build process starts.
OnAfterBuild Run after the build process is completed.
OnBuild Run before the build process starts.
OnBeforeBuildOutput Run before the build of each output. The CAD driver is not initialized.
OnBuildOutput Run before the build of each output. Usually used to add the CAD driver events if they are required. The CAD driver is initialized (the CAD system has started).

Order Of Execution

 

This is an example of the order of the events fired by a configurator with a nested configurator

Load : extension load
OnLogIn
OnLoad: Load of the Root Configurator
ResolvePathToResults: Root Configurator
ResolvePathToResults: Nested Configurator
OnBeforeBuild: Start of the Nested Configurator build
OnBeforeBuildOutput: Nested Configurator. Output: Nested configurator
OnBeforeExecOutputRules: Output: Nested configurator
OnAfterExecOutputRules: Output: Nested configurator
OnBuildOutput: Output: Nested configurator
OnAfterBuild: End of the Nested Configurator build
OnBeforeBuild: Start of the Root Configurator build
OnBeforeBuildOutput: Root Configurator. Output: Root Output
OnBeforeExecOutputRules: Output: Root Output
OnAfterExecOutputRules: Output: Root Output
OnBuildOutput: Output: Root Output
OnAfterBuild: End of the Root Configurator build

Was this article helpful?