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 > Defining state diagrams for your classes (system simulation)
  
Defining state diagrams for your classes (system simulation)
After defining your Classes, you can describe their behavior through State Diagrams.
To define state diagrams for your classes:
1. Use Modeler to define the State Diagrams for your Classes. To create a State Diagram for a Class:
a. Right-click the Class, point to New, and then click State Machine.
b. Type the name of the State Machine, and then press the Enter key.
c. Right-click the State Machine, point to New, and then click State Diagram.
2. If you want ACS to ignore a State Diagram, on the owning Class set the Generate State Machine tag definition to FALSE. How?
For more information about using Modeler to create State Diagrams, see Dynamic modeling overview