Overview of configuration parameters (TDK)
Configuration Parameters are advanced features that can configure and control TDK.
Configuration Parameters can control standard features of TDK, such as, whether the Generate command is selected or not. Some Configuration Parameters provide functionality that is not available through the TDK user interface, such as, prefixing log entries with the date and time.
Configuration Parameters can be defined in the following way:
Through the registry. How?
Use the registry to set up Configuration Parameters that you always want to apply by default on your computer.
* 
If you set a Configuration Parameter in the registry and you are using both ACS and TDK, the Configuration Parameter may affect both ACS and TDK.
Through a Configuration Parameter File (.par). How?
Use Configuration Parameter Files to set up the same Configuration Parameters for multiple users.
Through a Generation Settings Scheme. How?
Use a Generation Settings Scheme when you want to overwrite Configuration Parameters that have been set through the registry or through a Configuration Parameter File.
When a Configuration Parameter has a value:
The value can be initially set in the registry.
The value set in the registry can be overridden by a value set in a Configuration Parameter File (.par).
The value set in a Configuration Parameter File (.par) can be overridden by a value set through a Generation Settings Scheme.
You can use = or : to delimit the Configuration Parameter from its value. A value can optionally be enclosed within straight quotation marks and the straight quotation marks are automatically removed when the Configuration Parameter is parsed, so that they are not part of the value taken into account by the system. For example:
Log_App="c:\My Logs\My Log.txt"
When a Configuration Parameter that does not have a value has been set, it can be unset only through the ResetAllParams Configuration Parameter.
The following Configuration Parameters are available for use with TDK.
CodeToModelTransferDisabled — disables the reversing of text within markers from code files.
ComDirRoot — specifies the absolute path of a folder in which the TDKComDir subfolder is created for storing the TDK model SHK files.
EnablePreserveTaggedText — ensures that text within markers in the code files is not overwritten.
FlagsSettingDisabled — this Configuration Parameter forces makes selected settings read only.
Force_Config — for TDK, specifies the configuration to use when generating the Code Generator DLL.
Force_Gen_Once_And_End — makes TDK force a refresh, force a generation, and then close.
Force_Rebuild_All — for TDK, is the equivalent of the Rebuild All button that appears on the ACS/TDK Control tab.
GenerateDefaultObjsEnabled — selects or clears the Generate Default Named Items check box on the ACS/TDK Settings dialog.
GenerateEnabled — disables or enables the Enable or Disable Code Generation button on the ACS/TDK Control tab.
GenerateOnStartupEnabled — selects or clears the Generate on Startup check box on the ACS/TDK Settings dialog.
Log_App — specifies a log file in which to record TDK log messages.
Log_Time — specifies that each line of the TDK log is prefixed by the date and time it was written.
ParamFile — references and uses a Configuration Parameter File from a Configuration Parameter File.
PerUser — specifies whether the TDK ComDir folder is created in the Documents and Settings\All Users folder or the Documents and Settings\<user> folder.
ResetAllParams — unsets all Configuration Parameters that have been set to that point.
ReverseEnabled — disables or enables the Enable or Disable Reverse Engineering button on the ACS/TDK Control tab.
ReverseOnStartupEnabled — selects or clears the Reverse on Startup check box on the ACS/TDK Settings dialog.
TdkEnabled — for TDK, disables or enables the Enable or Disable TDK button on the ACS/TDK Control tab.
Was this helpful?