Skip to main content
12-Amethyst
June 9, 2017
Question

Part files default representation does not auto-update additional files

  • June 9, 2017
  • 2 replies
  • 4963 views

Hello,

In the "Visualization Configuration Administration" UI in the Utilities of Windchill, I had set the .xml file so as to have additional files (pdf for drawings, step for parts and asm) to be created in the default representation of the publisher, that can be easily and quickly downloaded without having to manually make additional representations every time.

They are obviously supposed to automatically update if the part/drw is modified and checked-in (according to the "Latest" logic).

The problem I have now is that, after modification and check in, while for drawings it's all ok (the thumbnail updates, and so does the associated pdf), for the parts instead the thumbnail updates but not the additional files (step and iges), which are not available any more for downloading: If want them, I have to re-publish the default representation.

I enclose a video which shows this.

Video Link : 7970

Why? And how could I fix this?

Thanks

2 replies

1-Visitor
June 9, 2017

In publish rule xml , do have a tag that says publish on="checkin ?

<publish on="checkin" evaluate-rules-on-republish="true"/>

tleati12-AmethystAuthor
12-Amethyst
June 9, 2017

Hi Binesh,

Thanks for your reply. I have these settings in my xml file:

<authoring-application name="PROE">

<!--

This section configures which output types are generated for each type of file. Set default="false" to disable that file type from publshing. Set default=true" to enable that file type for publishing.

-->

<additional-files name="drawing_files">

<file display-label="PDF" type="pdf" default="true" output-prefix="pdf"/>

<file display-label="DXF" type="dxf" default="true" output-prefix="dxf"/>

<file display-label="DWG" type="dwg" default="false" output-prefix="dwg"/>

<file display-label="STEP" type="step" default="false" output-prefix="step"/>

<file display-label="IGES" type="iges" default="false" output-prefix="iges"/>

<file display-label="CGM" type="cgm" default="false" output-prefix="cgm"/>

</additional-files>

<additional-files name="part_files">

<file display-label="STEP" type="step" default="true" output-prefix="step"/>

<file display-label="IGES" type="iges" default="true" output-prefix="iges"/>

<file display-label="PDF" type="pdf" default="false" output-prefix="pdf"/>

<!--

Please uncomment JT section once you have purchsed JT license & installed JT interface installed on worker machine <file display-label="JT" type="jt" default="false" output-prefix="jt" > <option name="AssemblyConfiguration" value="SingleFile"/> <option name="ConvertAnnotations" value="yes"/> </file>

-->

</additional-files>

<additional-files name="asm_files">

<file display-label="STEP" type="step" default="true" output-prefix="step"/>

<file display-label="IGES" type="iges" default="true" output-prefix="iges"/>

<file display-label="PDF" type="pdf" default="false" output-prefix="pdf"/>

20-Turquoise
June 9, 2017

You are missing the 'publish on="checkin' as Binesh pointed out. Also when republishing already existing representations you most likely want them to be re-published with the latest rules. In order to do that you need to follow the instructions here:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS142964

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS111916

Also look for the 'publish on="checkin" in the 2nd article to see how to use it.

23-Emerald IV
June 12, 2017

It's probably worth asking here if you really want these additional files available for everything in the system or only those items that have been released.  You should also look at whether or not republishing automatically takes place when you change states.  I have our system configured to only create these additional files at certain lifecycle states.  This happens automatically with the combination of publish rules and having the property "publish.republishonepmdocumentchange" enabled.

tleati12-AmethystAuthor
12-Amethyst
June 12, 2017

Hi Tom,

the fact is that we don't use life cycles in our system and for our company needs...it's not vital for us, but I recognize we should start using them.

Thanks

bye