Customized Notches Overview
- Last UpdatedNov 27, 2023
- 1 minute read
This is a facility which allows the customer to set up his own parameter controlled notch standard to be used in principally the same way as the built-in standard. From a user's point of view such notches are defined in exactly the same way as the standard notches, that means, by a notch type (name) followed by a number of parameters separated by asterisks.
The option to develop a customer specific notch standard is implemented by means of the Python language. On top Hull has a "notch hook" with the fixed name _TBhookCustNotch. This may branch into several sub-scripts for different notch types. How this is organized is up to the customer to decide. The customer developed notches are handled by the user interface in the same way as the in-built standard notches, using the drawing _ _SBH_EDGE_NOTCH_MENU_ _ to create the user dialog.
A picture, organized as a view of its own and named as the added notch type, must be added to this drawing. Further details can be found in Setup and customization / customizing Dialogs in Hull.
A Vitesse script is delivered in the release , _TBhookCustNotch, with two example nocthes that have the format NOTA<par1>*<par2> and NOTB<par1>*<par2>.
Additional notches can be implemented by expanding this script (or invoking sub-scripts from it). The name of the script is fixed and it must be placed in the directory indicated by the global variable PYTHONPATH.