Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > System generation for simulation - C, C++ and Java code > Class model and state diagram definition > Setting up a state diagram so that ACS ignores it (system simulation)
  
Setting up a state diagram so that ACS ignores it (system simulation)
1. If you have not added the C Profile, C++ Profile or Java Profile to your model, add the appropriate profile to your model. See Adding the C profile package to a model and Adding the C++ profile package to a model.
2. Apply the «C Class», «C++ Class» or «Java Class» stereotype to the Class that owns the State Diagram you want ACS to ignore. See Applying a stereotype to a model item.
3. Open the Class' Property Pages.
4. Click the C Class, C++ Class or Java Class tab, as appropriate.
5. Set the tagged value of the C Generate State Machine, C++ Generate State Machine, or Java Generate State Machine tag definition to FALSE.
ACS will not generate state machine code for the Class' State Diagram.