Skip to main content
14-Alexandrite
November 22, 2019
Solved

How to automatically generate pdf and dxf file from drw ?

  • November 22, 2019
  • 1 reply
  • 3139 views

Hi, I want to automatically generate pdf and dxf file from drw file while publishing it on Windchill. Is there any way to solve this because for now, I do it manually. 

1 reply

TomU23-Emerald IVAnswer
23-Emerald IV
November 22, 2019
MattPat14-AlexandriteAuthor
14-Alexandrite
November 27, 2019

Is that enough? I can't check it right now if it works. 

 

<?xml version="1.0" encoding="UTF-8"?>

<rules xmlns="http://www.ptc.com"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.ptc.com PublishRulesSchema.xsd"
 evaluate-rules-on-republish="true">
	<authoring-application name="PROE">
		<additional-files name="standard_files">
			<file output-prefix="pdf" default="true" type="pdf" display-label="PDF"/>
			<file output-prefix="dxf" default="true" type="dxf" display-label="DXF" />
		</additional-files>
		<condition name="ibawith value">
			<and>
				<attribute name="epmdoc_docType" value="Drawing"/>
				<attribute name="epmdoc_lifeCycleState" value="In Work"/>
			</and>
		</condition>
 </authoring-application>
</rules>