Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: "publishing rules" samples for visualization...please? SolidWorks if possible?

$
0
0

Hi, this exemple produce PDF and step

 

 

 

<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="part_files">

 

<!--

 

only default='true' files will be generated at this time

-->

 

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

</additional-files>

 

 

<additional-files name="asm_files">

 

<!--

 

only default='true' files will be generated at this time

-->

 

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

</additional-files>

 

 

<condition name="is_part">

 

<attribute name="epmdoc_name" regex=".*\.prt"/>

 

</condition>

 

 

 

<condition name="is_asm">

 

<attribute name="epmdoc_name" regex=".*\.asm"/>

 

</condition>

 

 

<!--

 

Following conditions are evaluated based on the order they appear in this file

-->

 

 

 

<if condition="is_part">

 

<publish on="checkin" display-label="Publish part - checkin" additional-files="part_files"/>

 

<publish on="create-representation" display-label="Publish part" additional-files="part_files"/>

<publish on="schedule" display-label="Publish part schedule" additional-files="part_files"/>

</if>

 

 

 

<if condition="is_asm">

 

<publish on="checkin" display-label="Publish assembly - checkin" additional-files="asm_files"/>

 

<publish on="create-representation" display-label="Publish assembly" additional-files="asm_files"/>

<publish on="schedule" display-label="Publish part schedule" additional-files="asm_files"/>

</if>

 

</authoring-application>

</rules>

  

For solidworks, parasolid files working good


Viewing all articles
Browse latest Browse all 8876

Trending Articles