Using ug2pv_config on Windows
The configuration of the Creo View Adapter for NX is accomplished using the ug2pv_config tool.
1. Using Windows Explorer, browse to the <installation_directory>\bin directory in which you installed the Creo View Adapter for NX . Double-click ug2pv_config. The NX Adapter Configuration dialog box opens.
2. If you have a prior configuration, you can use the Existing Configuration group to quickly and completely update that configuration to the latest version of the Creo View Adapter for NX. The Setup Directory field in this group allows you to specify the location of the previous configuration (v6.0 or later).
Once you browse to an existing setup directory, ug2pv_config automatically fills in all the required fields. Click Setup to automatically update your earlier version to the latest version.
* 
If you prefer to test the new configuration before overwriting your existing version, you can change the Setup Directory location in the Parameters group. This saves the new configuration in a different location, preserving the existing version instead of overwriting it. Then, if you choose not to use the new configuration, you can return to the Existing Configuration Setup Directory, which acts as a backup. When you are satisfied that the new version is working in your location, you can overwrite the old version with the new one.
3. Use the Parameters group settings in the NX Adapter Configuration dialog box to specify configuration settings for the adapter. This allows you to specify the way your system locates and starts NX for publishing purposes. The Parameters group includes these fields:
a. Client/Server Version
In the Client/Server Version drop-down list, you specify the client/server version number. This version should match your Creo View client and/or Visualization server. Setting the version incorrectly can cause problems with your Creo View client and/or Visualization server.
b. Setup Directory
ug2pv_config configures the adapter to run from the setup directory that you specify. Using different setup directories allows you to have multiple adapter configurations available to address different requirements.
To specify the setup directory, you can use the folder icon to the right of the Setup Directory field in the NX Adapter Configuration dialog box. This displays the Select a Setup Directory dialog box. Browse to a <setup_directory> location, or you can type the path in the Directory field.
Using different setup directories allows you to have multiple adapter configurations available to address different visualization requirements. ug2pv_config configures the adapter to run from the selected <setup_directory>.
Click OK after selecting the correct directory. You are returned to the NX Adapter Configuration dialog box, as shown previously, to make further configuration selections.
c. NX Command
Enter or browse to the correct NX startup command.
d. NX Version
Select the correct NX version from the drop-down list.
e. CPU compatibility fix
Select the compatibility fix if NX with older processors does not respond to the startup command. NX will then revert to the old libraries for the old processors.
4. Use the Components group settings in the NX Adapter Configuration dialog box to define the publishing components to configure and the way your system locates the Visualization server host and port. The Components group box includes these fields:
a. Create ugpublish
Enable this setting to publish files interactively from the NX session.
b. Create ugbatch
Enable this setting to run NX in batch mode from the command line to convert batch of files to Creo View viewables.
c. Create ugworker
Creates a startup script that is used by the Windchill Visualization Service to start the adapter in worker mode to publish Creo View viewables as part of the Windchill publishing process. To do this, the adapter needs the following details about the Windchill server.
a. Server Host
Enter the host name of the Windchill server.
b. Server Port
Enter the port to be used to communicate with the Worker Agent on the Windchill server. The default port number is 5600.
c. Worker Alias
Optionally, enter the name of the worker alias. Worker Alias is no available if you select the Enable WWGM file synchronization support check box.
A name for the worker alias is not required to configure the worker.
Do not include spaces in the name for the worker alias.
d. Test Server
After you specify the server host, port, and alias name in the case of an alias worker, click Test Server to perform the following actions:
Validate the machine name, port number, worker availability, and alias name.
Verify that the test server can connect to the Worker Agent at that location.
A Server Configuration Test window displays the following results:
Worker Type
Server
Port
Alias
Test Connection to Server—Opens the Server Configuration Test dialog box. If the test result shows Succeeded or Failed, and the resulting message commences with Set keepalive ok, then click Ok to continue the setup.
5. Use the Windchill Workgroup Manager group settings in the NX Adapter Configuration dialog box to allow support for file synchronization in the Windchill Workgroup Manager. Select the Enable WWGM file synchronization support check box to highlight the Install Directory and File Sync DLL fields.
a. Install Directory
Set this field to your Workgroup Manager client installation directory (shown as C:/ptc/WindchillWGM in Figure 12-3.) Your installation point may be different; use the folder icon to the right of the Install Directory field to locate the correct path for your installation.
b. File Sync DLL
The file synchronization DLL file is installed during the Workgroup Manager installation process. This field is preset to the default file synchronization DLL for NX. This field sets the default DLL name to ugnx<version>adapter_loader.dll where <version> is the NX version you selected in step 3.d. For example, for NX version 1953, the DLL name is ugnx1953adapter_loader.dll. You can accept the default, or use the folder icon to the right of the File Sync DLL field to locate the required ugadapter_loader.dll file.
* 
When running the config tool on a 64-bit Windows platform, this field will be set to the 64-bit Windows DLL.
* 
If you enter an incorrect path in the File Sync DLL field, the system displays an error and the Setup button will not be enabled.
6. After all the settings have been properly entered, click Setup and the wizard generates your configuration.
Once the setup runs, the Setup Complete prompt appears. Click OK to continue.
7. After you set up the configuration, you can click Recipe Editor to edit the recipe file for this configuration. Refer to Introduction to Recipe Editing for Converting CAD Data for further information.
* 
Changes to the recipe file should only be performed by advanced users.
8. Click Exit. The Exit ug2pv_config dialog box opens.
9. Click Yes to exit.
War dies hilfreich?