Model handlers

Description of the Model handler functions available in Schematic Editor and Schematic API

Model handlers are functions that are defined on the model level. Table 1 contains a summary of the Model handler functions possible for Schematic Editor components.
Table 1. Model handlers
Model handler name When executed
model_init
  • Called at the beginning of model compilation.
  • Used to setup the namespace. Here you can define variables that can be referenced from a component within the model.
  • Parameters:
    • mdl - Schematic API object