Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Transformation Development Kit (TDK) > Customizing an ACS Code Generator DLL > Customizing a TDK code generation transformation patterns model - current TDK models > How TDK code generation transformation patterns models define code generation > Working with SDL scripts in TDK code generation transformation patterns models (TDK)
  
Working with SDL scripts in TDK code generation transformation patterns models (TDK)
A TDK Code Generation Transformation Patterns model predominately uses Rules and Rule Text to define code generation. However, a TDK Code Generation Transformation Patterns model can also define code generation through SDL Script and SDL Script extensions for TDK.
The SDL Script typically appears in the Body property of Operations that are owned by 4G Generation Classes and 4G Business Classes. The SDL Script is run when the Operation is called.
Rule Text can also contain SDL Script. To define SDL Script within in Rule Text, the SDL Script must be enclosed between /: and :/ identifiers.
* 
In the SDL script, use Self for the Modeler item that will be worked with through the ACS Code Generator DLL.
For more information about the grammar and syntax of SDL Script and SDL Script extensions for TDK, see Overview of SDL script (TDK).