Configuring the Creo View Adapter for HTTPS
Because the worker runs in the background, user dialogs that arise during communication with the server are to be avoided. In an HTTPS environment, for example, certificates should be loaded and pre-accepted in order for the worker system to avoid acceptance dialogs.
Accepting Certificates on Windows
For the Windows worker to publish data, the PTC Worker Daemon service must be configured with the specific logon information of a user who can log on to the local host and accept certificates from the Windchill server. To accomplish this, do the following:
1. In Windows, click > > . Once the Administrative Tools window opens, double-click the Services icon. The Services window opens.
2. View the properties of the PTC Worker Daemon.
3. Return to the PTC Worker Daemon’s Services window and click Stop to stop the Service.
4. Click the Log On tab.
5. Choose This account and enter the user logon and password information.
6. Click the General tab and start the Service.
7. Open Creo View or the Windchill Workgroup Manager and browse to the Windchill server.
8. Install (Accept) the security certificate for the secure site.
9. Click Exit to exit Creo View or the Windchill Workgroup Manager.
10. Refer to the "Configuring the Worker" section for the steps to configure the worker on the server.
Note About Publishing AutoDesk Inventor Assemblies
When publishing Autodesk Inventor assemblies with file synchronization disabled on the server, publishing of the assembly may fail unless the adapter exits after publishing an Autodesk Inventor assembly. (This condition is also applicable when creating Representations for WTparts with local CAD data, since file synchronization is not applicable in this case.) To fix this problem, open the Autodesk Inventor worker's recipe file, inventor_pv.rcp. Within the Recipe Editor, access the > tab and, in the Error Handling pane, set the “Worker Exits After Job on the Following Errors” field value to 100.
|
For more information about the Recipe Editor, see the “Creo View MCAD Adapters Installation and Configuration Guide.”
|
When Windchill Workgroup Manager Is Installed from a Server on a Remote Worker System
The basic requirement for publishing with file sync enabled on a remote worker machine is that there should not be any server registered with the Windchill Workgroup Manager. However, when the Windchill Workgroup Manager is installed from a server, this condition is satisfied due to automatic server registration, and server-side publishing cannot proceed. You can correct this situation as follows:
After installing Windchill Workgroup Manager client on the worker machine from a Windchill server, edit the wgmclient.ini file located at <WGM_INSTALL_DIR>, and comment-out the entry as shown below.
#Default server URL.
#default.server.url=<server_url>
In addition, the “Start application” option should not be flagged to launch Windchill Workgroup Manager after completion of the installation.
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 NX and a file sync CAD worker for Autodesk Inventor on the same machine, but you cannot run two file sync CAD workers for Autodesk Inventor on the same machine.
The following environment variable is used in this procedure:
<PTC_WGM_ROOT>
Root folder for each CAD worker
Windchill Workgroup Manager Configuration for File Sync Enabled Worker for Autodesk Inventor
To setup file sync CAD worker for Autodesk Inventor 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 Autodesk Inventor 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_INV
3. Create the Autodesk Inventor worker scripts (which includes batch file) invworker.bat in Autodesk Inventor worker setup folder.
4. Register Autodesk Inventor with Windchill Workgroup Manager. This creates Autodesk Inventor registration files at the set location <WWGM_Working _directory>\PTC_WGM_ROOT_INV.
5. Edit the batch file invworker.bat to add the following environment variable:
set PTC_WGM_ROOT=<WWGM_Working_directory>\PTC_WGM_ROOT_INV
6. Delete the following environment variable from the system.
PTC_WGM_ROOT = <WWGM_Working _directory>\PTC_WGM_ROOT_INV
|
• You must delete the environment variable PTC_WGM_ROOT before you set up another CAD worker such as NX worker.
• Restart your machine after you setting up multiple CAD workers; for example, after setting up file sync CAD workers for Autodesk Inventor and NX.
|
7. Repeat steps 2 to 6 for another file sync CAD worker such as NX.