Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Visual Basic code > Modeling Visual Basic code in a model > Modification of item names when inserted into Visual Basic (Visual Basic code)
  
Modification of item names when inserted into Visual Basic (Visual Basic code)
The names of items in a model may be invalid if inserted directly into Visual Basic code, for example, they may contain spaces. For this reason, ACS may modify Modeler item names when they are inserted into your Visual Basic code.
You can avoid using the mangled 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 change how the ACS Code Generator DLL changes item names when inserted into the code, you must change the TDK Code Generation Transformation Patterns model from which the vb generation ACS Code Generator DLL was generated, and regenerate the ACS Code Generator DLL.