Procedure for Code Generation :
1. | In StarUML(tm), select the [Tools]->[C++]->[Code Generation...] menu. |
2. | At the [Select Starting Package Location] page in the [C++ Code Generation] dialog box, select a package and click [Next]. |

3. | At the [Select the code generation element] page, select the elements and click [Next]. |

4. | At the [Output Directory Setup] page, select a directory to save the output sources and click [Next]. |

5. | At the [Option Setup] page, select options and click [Run]. Reverse engineering will start now. |

6. | The [Code Generation] page will show the code generation progress status and return code generation failure or success results. |

Note
· | The following error will occur if C++ code generation is executed without including C++ profile. Please ensure that C++ profile is included in the project before executing code generation. |

|