与其他应用程序集成 > Windchill Workgroup Manager 文档 > Windchill Workgroup Manager 工具包 > Creating and Modifying Toolkit Applications for CATIA V5 > Create or Update User Environment Variables for CATIA V5 > Example—Create the WWGMTK_CATIAV5_DLL User Environment Variable
  
Example—Create the WWGMTK_CATIAV5_DLL User Environment Variable
If you are using CATIA V5, create the WWGMTK_CATIAV5_DLL user environment variable. This variable allows access to the Execute method from DLL application from the CATIA V5 selection under the Windchill Workgroup Manager client Toolkit Demo menu.
This variable must reside on the same machine as the Windchill Workgroup Manager client and the Windchill Workgroup Manager Toolkit file.
The DLL for WWGMTK_CATIAV5_DLL user environment variable should be built using the sample files and scripts provided with the Windchill Workgroup Manager Toolkit.
1. Close the authoring application, if it is connected to Windchill.
2. Close Windchill Workgroup Manager, if it is running.
3. From the System Properties window of your computer, select the Advanced tab and click Environment Variables.
4. In the user variables section, click New to add a new user environment variable.
5. In the New User Variable window:
a. In the Variable name field, enter WWGM_CATIAV5_DLL.
b. Enter the variable value in the Variable value field.
c. Click OK.
6. Launch the Windchill Workgroup Manager client.
7. If applicable, start the authoring application.
8. Test the application.
9. Check the results.