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 > Overview of generating IDL code (IDL code) > Modifying object names when inserted into IDL code (IDL code)
  
Modifying object names when inserted into IDL code (IDL code)
Model object names in Modeler may be invalid if inserted directly into IDL code, for example, they may contain spaces. For this reason, ACS modifies Modeler object names when they are inserted into your IDL code.
You can avoid using the modified name of an item by specifying the exact name you want to insert into your code through the item's CODE_GENERATION_NAME property, which appears on the Text tab of an item's Property Pages. If you specify a CODE_GENERATION_NAME value for an item, ACS inserts that name into the code as is.
If you want to customize how IDL generates model object names, you must customize the ACS Code Generator DLL you are using to generate IDL code. Note that in the TDK model from which the ACS Code Generator DLLs for IDL are generated, the 'TheGenerator::Generator::Model2Text::BItem.Name' function is used to modify the model object names.