Configuring Multiple File Sync CAD Workers
This section provides instructions on setting up multiple file sync CAD workers for different CAD tools on a single machine.
For example, you can run a file sync CAD worker for Creo Elements/Direct Drafting and a file sync CAD worker for Autodesk Inventor on the same machine, but you cannot run two file sync CAD workers for Creo Elements/Direct Drafting on the same machine.
The following environment variables are used in this procedure:
<PTC_WGM_ROOT>
Root folder for each CAD worker
<PTC_WGM_APP_LOCK_NAME>
Set this variable for each worker to different values.
|
This variable is applicable only for the following CAD workers:
• Creo Elements/Direct Modeling
• Creo Elements/Direct Drafting
|
Windchill Workgroup Manager Configuration for File Sync Enabled Worker for Creo Elements/Direct Drafting
To setup file sync CAD worker for Creo Elements/Direct Drafting on a single client machine, perform the following actions:
1. Install the Windchill Workgroup Manager client build in the chosen location. For example: C:\Program Files\PTC\wgm.
|
Do not register Creo Elements/Direct Drafting with Windchill Workgroup Manager before setting the required system environment variables.
|
2. Create the following system environment variable.
PTC_WGM_ROOT = <WWGM_Working _directory>\PTC_WGM_ROOT_CEDD
3. Create the Creo Elements/Direct Drafting worker scripts (which includes batch file) ccdraftworker.bat in Creo Elements/Direct Drafting worker setup folder.
4. Register Creo Elements/Direct Drafting with Windchill Workgroup Manager. This creates Creo Elements/Direct Drafting registration files at the set location <WWGM_Working _directory>\PTC_WGM_ROOT_CEDD.
5. Edit the batch file ccdraftworker.bat to add the following environment variables:
set PTC_WGM_ROOT=<WWGM_Working_directory>\PTC_WGM_ROOT_CEDD
set PTC_WGM_APP_LOCK_NAME=CEDDworker
6. Delete the following environment variable from the system.
PTC_WGM_ROOT = <WWGM_Working _directory>\PTC_WGM_ROOT_CEDD
|
• You must delete the environment variable PTC_WGM_ROOT before you set up another CAD worker such as the NX worker.
• Restart your machine after you setting up multiple CAD workers; for example, after setting up file sync CAD workers for Creo Elements/Direct Drafting and NX.
|
7. Repeat steps 2 to 6 for another file sync CAD worker such as NX.