Examples
- Last UpdatedJan 07, 2026
- 1 minute read
The example file kcs_ex_trig01.py contains a generic trigger example that can be used to verify the operation of a trigger. To enable this onto a certain trigger, please copy the file to the name of the trigger, for example, trig_draft_dwg_new.py. Using this sample, it is possible to see input arguments and specify return values and result codes in an easy and interactive way.
Note: The trigger example files are located under the \Vitesse\Trigger directory below the installation root directory. The reason that they are not in the \Vitesse\Examples directory together with the rest of the example files is that the SBB_TRIGDIR variable by default points to the \Vitesse\Trigger directory. This makes it easy to enable the trigger samples by just copying or changing the name of the file in its current location.