Configuring the Creo View Adapter for Creo Elements/Direct Drafting > Advanced Creo Elements/Direct Drafting Adapter Configurations > Configuring the PDF Drawing Viewable Output
  
Configuring the PDF Drawing Viewable Output
To change Drawing PDF Viewable output settings in the Creo View Adapter for Creo Elements/Direct Drafting installation, edit the <Adapters>\system\cocreate\me10Cadworker.wsf file using a text editor. The file is located under the Creo View Adapters installation folder <Creo_View_Adapters>\system\cocreate.
To change output settings perform the following steps:
1. Locate the me10Cadworker.wsf script in the <Creo_View_Adapters>\system\cocreate folder.
2. Take a backup copy of the script.
3. Open the script in a text editor.
4. Modify the PDFPlotStore() function according to the relevant configuration instructions below.
5. Save the file and exit the text editor.
6. Restart the CoCreate Worker and test the updated settings.
Creo Elements/Direct Drafting updates the cached plot transformation matrices with the values set in the adapter WSF script. To reset all changes to default replace the original script backed up earlier, execute the following command from Creo Elements/Direct Drafting: PLOT_TRANSFORMATION RESET.
Setting the Plot Scale
Below are the currently supported PDF plotting configuration settings that can be changed in this way.
The PLOT_SCALE function controls the factor by which the entire drawing, including text, dimensioning, and symbols, is scaled before it is plotted. There are the two options:
PLOT_SCALE AUTO—Scales automatically, considering the paper size and the drawing size (default).
PLOT_SCALE 1—Sets the scale 1:1 (Setting the scale to 100% may create problems in the case of very big or very small drawings compared to paper size).
To change to full scale 1:1 Drawing Viewable output, change from
startupFileHandle.WriteLine(" PLOT_SCALE AUTO END");
to
startupFileHandle.WriteLine(" PLOT_SCALE 1 END");
Setting the Color Output
To generate black and white PDF Drawing Viewable output, set one of these options:
TRUE_COLOR_PLOTTING OFF—Disables 8-bit color, resulting in greyscale PDF output.
PLOT_BLACK_AND_WHITE—Disables color plotting and results in 1-bit black and white PDF output.
To change to black and white Drawing Viewable output, add one of the following options:
startupFileHandle.WriteLine("TRUE_COLOR_PLOTTING OFF");
with
startupFileHandle.WriteLine("PLOT_BLACK_AND_WHITE");
Setting the Output Orientation
To set the PDF drawing output orientation to Portrait, add the. PLOT_ORIENTATION token accordingly. The default value is LANDSCAPE
To publish PDF output with portrait orientation, add the line
startupFileHandle.WriteLine("SET_PLOT_ORIENTATION PORTRAIT END");
Setting the Plot Resolution
The resolution of the PDF Drawing output can be controlled by adding the PLOT_RESOLUTION token. This can be set at any value between 1 and 7200000. The default value is 720 dpi.
To change the default plot value, edit the value in the line
startupFileHandle.WriteLine("PLOT_RESOLUTION 720 END");
* 
Beware of setting a resolution that is too high, as this will result in very large PDF output and potentially cause errors elsewhere in the publishing process.