cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

PDF from creo Publisher Configuration

SOLVED
Highlighted
Regular Member

PDF from creo Publisher Configuration

Hello,
I want to configure PDF publishing on the Creo worker.
I would like to have the same rendering as when I created PDF from creo.
how can we configure the PDF settings of the worker.
cordially

1 ACCEPTED SOLUTION

Accepted Solutions

Re: PDF from creo Publisher Configuration

First of All the setting at worker machine e.g. Fonts, Config.pro templates and *tbl etc should be same at your client machine.

 

Open the Recipie File: <creo_view_adapters\proe_setup\proe2pv.rcp>

 

1. Go to Advance Tab >> PDF Output

2. Color Control = Monochrome ?? or Greyscale ??

3. Set other required properties as per requirement 

4. Save the RCP

5. Go to Windchill >> Site >> utilities >> Worker configuration 

6. Perform Reload of Worker

7. Start worker

8. Test publishing to PDF.

6 REPLIES 6

Re: PDF from creo Publisher Configuration

Hello,

 

  • This functionality is available only with Windchill PDMLink 10.1 M010 and later releases
  • Set property publish.usesPublishRules=ARBORTEXT PROE in wvs.properties using following xconfmanager command in Windchill Shell
    • xconfmanager -s publish.usesPublishRules=ARBORTEXT PROE -t codebase\wvs.properties -p
  • Restart Windchill Methodserver
  • Create an xml file with following content .e.g additional_file_type_publishrule.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <rules evaluate-rules-on-republish="true"
     xsi:schemaLocation="http://www.ptc.com PublishRulesSchema.xsd"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns="http://www.ptc.com">
    
    <authoring-application name="PROE">
    
      <condition name="is_released_drawing">
        <attribute name="epmdoc_CADName" regex=".*\.drw$"/> 
      </condition>  
    
      <condition name="is_cadpart">
        <attribute name="epmdoc_CADName" regex=".*\.prt$"/>            
      </condition>
    
      <condition name="is_asm">  
        <attribute name="epmdoc_CADName" regex=".*\.asm$"/>
      </condition>    
    
      <additional-files name="publish_drawing">
        <file display-label="pdf" type="pdf"  default="true"  output-prefix="pdf"/>
        <file display-label="dxf" type="dxf"  default="true"  output-prefix="dxf"/>
      </additional-files>
    
      <if condition="is_released_drawing">
        <publish on="checkin" additional-files="publish_drawing" />
        <publish on="create-representation" additional-files="publish_drawing" />
        <publish on="schedule" additional-files="publish_drawing" />
      </if> 
    
    </authoring-application>
    
    </rules>
    • A sample Publish Rules XML file, PublishRules.xml, can be found in the <Windchill>/codebase/com/ptc/wvs/server/xml directory.
  • Click on Site > Utilities > Visualization Configuration Administration
  • Click on Create Configuration  and enter name like PV_Additional_file
  • Click on Add File to Configuration and Browse to additional_file_type_publishrule.xml file created above
  • Publish the CAD Document and the additional file types for the representation will be accessible from the Representations and Annotationstable RMB drop-down menu under Files
  • Customize the XML file per your additional requirement

Re: PDF from creo Publisher Configuration

Thank you for your reply.
The worker configuration is already effective.
But the format of the PDF is not identical to the PDF generated maunellement in Créo.
(shaded views transformed to wired view, line color blue instead of black, etc.)
how to set these options on the Publisher

Re: PDF from creo Publisher Configuration

First of All the setting at worker machine e.g. Fonts, Config.pro templates and *tbl etc should be same at your client machine.

 

Open the Recipie File: <creo_view_adapters\proe_setup\proe2pv.rcp>

 

1. Go to Advance Tab >> PDF Output

2. Color Control = Monochrome ?? or Greyscale ??

3. Set other required properties as per requirement 

4. Save the RCP

5. Go to Windchill >> Site >> utilities >> Worker configuration 

6. Perform Reload of Worker

7. Start worker

8. Test publishing to PDF.

Re: PDF from creo Publisher Configuration

setting made
Add to worker config.pro
pdf_use_pentable yes
pen_table_file C: \ PTC \ CAD_Worker \ pen.pnt
system_colors_file C: \ PTC \ CAD_Worker \ syscol.scl
and copy the pen.pnt and syscol.scl files from the PCs to the Worker

Thank you for your help

Re: PDF from creo Publisher Configuration

Well done!

Re: PDF from creo Publisher Configuration

Another method is to use a network location for your PTC settings, then point all workers and Creo clients to that folder to obtain settings. One location if you need to update any settings and everyone has the change automatically.