Server Controlled Publishing with ccmodelworker
When the Visualization server initiates a client request to convert Creo Elements/Direct Modeling data to the Creo View format, the server uses the ccmodelworker to convert the CAD data in a background session of Creo Elements/Direct Modeling. This Visualization server could be a Windchill server or another customized server environment.
The Creo Elements/Direct Modeling worker is an important link in achieving the full functionality of the Visualization server. For more information, refer to Visualization Server Definition.
ccmodelworker Overview
The Creo Elements/Direct Modeling worker is used to manage the relationship between Creo Elements/Direct Modeling and the Visualization server. ccmodelworker opens a non-graphical session of Creo Elements/Direct Modeling, and it converts the CAD data to the format used by the Creo View client.
To configure the worker, you must know the Visualization server host name, the port number that the Worker Agent is listening on, and the complete path to the worker script ccmodelworker.
Using ccmodelworker
The worker script is created in the <setup_directory>, and the Visualization server runs the scripts when starting the worker.
* 
You are strongly advised to first test the ccmodelbatch configuration before using the ccmodelworker. It is easier to identify and resolve most issues using ccmodelbatch than with ccmodelworker.
When configuring the Worker Agent to use this worker, use the following Execute Command:
<setup_directory>/ccmodelworker.bat
In our example, this command is:
C:/ptc/ccmodel_setup/ccmodelworker.bat
* 
Do not use spaces in the setup directory name.
You must use the *.bat extension when the worker is on a Windows machine.
To learn about configuring the Worker Agent to use this worker, refer to Visualization Server Definition.
Was this helpful?