Creating a generation settings scheme (ACS)
1. In Modeler, open the model you want ACS to work with.
2. If you have not added the ACS Profile to the model, add the ACS Profile to that model. How?
The ACS/TDK Control tab displays Not Connected.
3. Load ACS. How?
The ACS/TDK Control tab displays Connected.
4. In Modeler , select the Model or Package that is to be the root object for the Generation Settings Scheme.
* 
Using a Package as a root object, rather than the complete model, will result in a better performance from ACS.
5. On the ACS/TDK Control tab, in the drop-down list select New Scheme.
6. On the ACS/TDK Control tab, click the Edit ACS Scheme button.
Modeler opens the Launch ACS/TDK Control dialog.
7. Click the button associated with the Generator Dll box, and select the ACS Code Generator DLL you want to use.
If you have installed Modeler to the default location, the supplied Code Generator DLLs reside in subfolders of the following folder (the name of a Code Generator DLL's folder matches that of the Code Generator DLL).
For Windows 7 and later operating systems:
C:\Users\<user>\AppData\Roaming\ItsShadow\ScriptDir
For pre Windows 7 operating systems (64-bit versions of):
C:\Program Files (x86)\Windchill Modeler\Modeler\System
For pre Windows 7 operating systems (32-bit versions of):
C:\Program Files\Windchill Modeler\Modeler\System
For information about customizing an ACS Code Generator DLL, see the Transformation Development Kit (TDK) help.
8. Click the button associated with the Target Directory box, and select the folder to which you want to generate code.
Alternatively, you can type the path of the folder in the Target Directory box.
9. The Launch Options box allows you to specify configuration parameters that are used when starting ACS.
Configuration Parameters can control standard features of ACS, such as, whether the generation is enabled or not. Some Configuration Parameters provide features that are not available through the ACS/TDK Control tab, such as, prefixing log entries with the date and time, and forcing ACS to preserve text within markers in code files.
Configuration Parameters can be applied through shared Configuration Parameter Files. For more information about Configuration Parameters, see Overview of configuration parameters (ACS)
10. Click the button associated with the Settings File box, specify a name and location in which to save the Generation Settings Scheme, and then click Open.
11. Click the Advanced tab.
* 
The options available on the Advanced tab are populated only after you have selected a Code Generator DLL.
12. Set the options on the Advance tab as required.
The options available on the Advanced tab depend on the code language you are generating. For more information about the options, see Launch ACS/TDK dialog (ACS).
13. If there is a Simulation tab (appears for animation and simulation Code Generator DLLs only), click the Simulation tab:
a. Click the button associated with the Select Classes to Stub pane.
b. For each Class you want to generate as a stub, select the Class and then click Add.
c. After you have added all the Classes you want to generate as stubs, click Close.
d. If shown, in the Select Harness Pane browser, select the initial state machine Class.
14. Click Save Only, and then click Cancel.
* 
Clicking the Save and Launch button saves the Generation Settings Scheme and starts ACS using that Generation Settings Scheme.
The Generation Settings Scheme you created will be available in the ACS/TDK Control tab whenever the root object is selected in Modeler.
After creating a Generation Settings Scheme, you can set up the ACS generation and reverse engineering options before generating any code files. How?
Was this helpful?