How to Add Functionality with PML
- Last UpdatedJan 16, 2026
- 1 minute read
Integrator communicates with PML via events that call methods on PML objects supplied in the pmllib\Integrator\objects folder. These objects are essential to the correct functioning of Integrator and should not be modified other than as described below.
The IntegratorProjectHandler object is provided to enable project specific actions to be added to certain methods. The methods that can be modified are as follows.
BeginBuildCallback
-
This method is called once prior to any other actions during the Build process.
PreCreateCallback
-
This method is called prior to the creation of each object in 3D during the Build process
PostCreateCallback
-
This method is called after the creation of each object in 3D during the Build process
EndBuildCallback
-
This method is called once after any other actions during the Build process.
BeginCompareCallback
-
This method is called once prior to any other actions during the Build process.
EndCompareCallback
-
This method is called once after any other actions during the Build process.
The arguments for each method are specified in the supplied PML.
Each place where customized code can be added is delimited as follows.
--================================================
-- Start of customization
-- End of customization
--================================================
Other methods on the IntegratorProjectHandler object should not be modified.