Интеграция с другими приложениями > Документация Windchill Workgroup Manager > Introduction to Windchill Workgroup Manager > Managing Windchill Workgroup Manager Preferences > Managing Preferences Using the wgmclient.ini File > Setting or Modifying Preferences in the wgmclient.ini File
  
Setting or Modifying Preferences in the wgmclient.ini File
Every preference listed for your CAD application in the wgmclient.ini file can be changed, provided the preference has not been locked at a higher preference organization level. Changes made in this file override the same-named preferences in the Preference Management utility. See the “Using Windchill Workgroup Manager” section for a list of preferences of interest for your CAD tool.
The default wgmclient.ini file is located in the Windchill Workgroup Manager Home directory. You edit and then save this file to make changes to preferences.
Each line begins with a # prefix, indicating the line is a comment. In the preference name line, enter the appropriate value after the equal (=) sign, and remove the # prefix to set and uncomment the preference.
* 
Do not remove the # prefix at the beginning of comment lines describing the preference or preference values, or errors could occur.
Use the following procedures to edit the wgmclient.ini file.
Setting or Modifying an Existing Preference
As shown previously, preferences that can be set or modified for your CAD integration are listed under [your CAD tool name] , and in the beginning of the wgmclient.ini file where preferences are located for more than one Windchill Workgroup Manager CAD integration.
To set or modify an existing preference:
1. Open wgmclient.ini in a standard text editor.
2. Locate the section for your CAD integration. If the preference is not listed under that section, scroll to the beginning of the wgmclient.ini file and search for the preference name.
3. To set (activate) a preference.
Enter the appropriate value after the equal (=) sign. For example, <preference name = preference value>.
Remove the # prefix to uncomment the preference.
4. To remove (deactivate) a preference, or to set it back to the default value in the wgmclient.ini, add the # prefix back at the beginning of preference name to comment the preference.
5. Save the file.
6. Restart Windchill Workgroup Manager. The modified preference is available.
If the Preference Modification Fails
If the preference added, removed, or set back to the default value in the wgmclient.ini file fails, it may be due to one or more of the following:
The # prefix to uncomment the preference was not removed when attempting to set the preference.
The # prefix to comment the preference was not added when attempting to remove the preference.
The # prefix at the beginning of a comment line describing the preference or list of preference values was removed.
The wgmclient.ini file was not saved locally.
Windchill Workgroup Manager was not restarted after saving the wgmclient.ini file.
The preference is locked at a higher preference organization level in the Preference Management utility in Windchill.