Defining the Variable PTC_WGM_ROOT Folder Location to Create Application Data with SolidWorks
File synchronization may not function if a SolidWorks worker is started from the "GS Worker Daemon" service on the Windows XP x64 (64-bit) platform. This issue is known to affect both SolidWorks 2009 and 2010 x64 editions. It may also affect certain configurations of the following adapters: NX, Creo Elements/Direct Drafting, CATIA V5, and Autodesk Inventor. It does not affect Creo Parametric. This configuration issue can be addressed by setting a fixed PTC_WGM_ROOT location by adding a SYSTEM level environment variable for PTC_WGM_ROOT:
1. Install the Creo View Adapter and Windchill Workgroup Manager on the worker target machine where the CAD application is already installed.
2. Set the system level environment variable PTC_WGM_ROOT to the desired folder location (i.e., where the Windchill Workgroup Manager Application Registry must be created, e.g., C:\PTC\WGM).
3. Run the Windchill Workgroup Manager client, register the required CAD application, and close the Windchill Workgroup Manager client.
4. Set the system level environment variable PRO_MACHINE_TYPE=x86e_win64.
5. Reboot the machine.
6. Configure the "GS Worker Daemon" as Windows Service (for SolidWorks only with the logon as "local SYSTEM account" and "Allow service to interact with the desktop" checked).
If problems persist, this problem is only affecting file-synchronization enabled workers started from the "GS Worker Daemon" service. Perform one of the following:
• Disable file synchronization on the Windchill server, by removing the "useworkerdownload" argument and value from the publish.cadconvert.<AuthoringApplication> property in wvs.properties (use the xconfmanager command or edit the site.xconf and propagate with "xconfmanager -p").
• Stop the "GS Worker Daemon" service and start it manually in a foreground login session on the worker machine, using the command "<PV_Adapters>\i486_nt\obj\WorkerDaemon", which starts the daemon listening on default port 601. To start it on another port, add the desired port as the only argument to the command, e.g. "<PV_Adapters>\i486_nt\obj\WorkerDaemon 602".