Server Controlled Publishing with ccdraftworker
When the Visualization server initiates a client request to convert Creo Elements/Direct Drafting data to the Creo View format, the server uses the ccdraftworker to convert the CAD data in a background session of Creo Elements/Direct Drafting. This Visualization server could be a Windchill server or another customized server environment.
The Creo Elements/Direct Drafting worker is an important link in achieving the full functionality of the Visualization server. For more information, refer to Visualization Server Definition.
ccdraftworker Overview
The Creo Elements/Direct Drafting worker is used to manage the relationship between Creo Elements/Direct Drafting and the Visualization server. ccdraftworker opens a non-graphical session of Creo Elements/Direct Drafting, and it converts the CAD data to the *.dxf 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 ccdraftworker.
Using ccdraftworker
The worker script is created in the <setup_directory>, and should be run by the Visualization server when starting the worker.
* 
Users are strongly advised to first test their ccdraftbatch configuration before using the ccdraftworker. Troubleshooting ccdraftbatch is an easier way of identifying and resolving most issues that will also affect the worker.
When configuring the Worker Agent to use this worker, use the following Execute Command:
<setup_directory>/ccdraftworker.bat
In our example, this command is:
C:/ptc/ccdraft_setup/ccdraftworker.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?