Script hooks

It is NOT recommended to modify the PiSession.mac file. The best way to customize it is to add modifications under the COS project or library (but NOT under PMS_HOME). For example, if you want to run your customized script when plotting, add "PiCustomPlot" script to the COS databases

  • When plotting PiCustomPlot() is called.

  • When exporting PiCustomExport() is called.

  • When saving a drawing PiCustomSave() is called.

  • When quitting the program PiCustomQuit() is called.

  • When starting the program PiCustomStart() is called.

There are also document script hooks:

  • PiScH_CheckInIsometricDrawing

  • PiScH_AboutToCheckInIsometricDrawing

  • PiScH_CheckOutIsometricDrawing

  • PiScH_GetCustomBrowserActionsForIsometricDrawings

Related topics

Script hook