You can use the Cadence® Library Exchange Format (LEF) writer with callback routines, or you can call one writer function at a time.
All callback functions use the following format.
The callBackType argument is a list of objects that contains a unique number assignment for each callback from the parser. This list allows you to use the same callback routine for different types of LEF data.