Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > IDL Code > Generating IDL code > How to > Setting up data type mappings - optional (IDL code)
  
Setting up data type mappings - optional (IDL code)
If you create a basic type in the Model, you may have to map it to an IDL type in the IDL_Sync.ini file. For more information, see Type mapping for IDL (IDL code).
To specify data type mappings
1. Using a text editor such as Notepad, open the IDL_Sync.ini file, which resides in the 'PTC Integrity Modeler\Modeler\System\IDLGen' folder.
2. In the Datatype Mappings section, insert or change your basic types using the syntax: <Modeler Type>=<IDL Type>Where <Modeler Type>is not case sensitive and <IDL Type> is case sensitive.
3. Save and close the IDL_Sync.ini file.
4. If ACS is running, stop and restart the ACS.
To specify a default data type for attributes, parameters and type definitions:
1. Using a text editor such as Notepad, open the IDL_Sync.ini file, which resides in the 'PTC Integrity Modeler\Modeler\System\IDLGen' folder.
2. In the Datatype Default section, set the default value as required.
3. Save and close the IDL_Sync.ini file.
When an Attribute, Parameter or Type Definition does not have a data type specified, ACS will use the default value you specified.
To specify a default data type for operations:
1. Using a text editor such as Notepad, open the IDL_Sync.ini file, which resides in the 'PTC Integrity Modeler\Modeler\System\IDLGen' folder.
2. In the Datatype Default section, set the operationdefault value as required.
3. Save and close the IDL_Sync.ini file.
When an Operation does not have a data type specified, ACS will use the default value you specified.