ProgramProcessGeometries scripts should be placed relative to the active technology in the internal or external E2 Plugin folder ..\Standard\AuxiliaryCommands\ProcessGeometry\:
Thus, all scripts will be available for selection in the Programming defaults dashboard:
The selected script will be than executed during the Process Geometry programming command:
Moreover, the return value of the ProgramProcessGeometries callback will define if the internal ProgramProcessGeometries method should be executed or not. Thus, if the return value is False – the script will be executed first followed by the internal PG programming method. So both, Python callback and internal method will be executed. Otherwise, if the return value is True – the internal method will be skipped. The default return value is False.
|