Skip to main content
1-Visitor
September 25, 2014
Solved

Enable Publish Rule for CAD Drawings

  • September 25, 2014
  • 5 replies
  • 3257 views

Dear User,

I have enabled Publish Rule to generate additional file formats . But I need this only for CAD Drawing and not for CAD Part or WTDocuments.

Can you pls share you expertise on achieving this feature.

Regards,
Sriram Rammohan

Best answer by TomU

Assuming you're using one of the later versions of Windchill, you need to create a condition in your publish rules based on document type.

<condition name="CAD_Drawing">

<attribute name="epmdoc_docType" value="Drawing"/>

</condition>

<condition name="CAD_Part">

<attribute name="epmdoc_docType" value="CAD Part"/>

</condition>

<condition name="CAD_Assembly">

<attribute name="epmdoc_docType" value="Assembly"/>

</condition>

<authoring-application name="PROE">

<if condition="CAD_Drawing">

...do stuff

</if>

<if condition="CAD_Part">

...do stuff

</if>

<if condition="CAD_Assembly">

...do stuff

</if>

</authoring-application>

5 replies

TomU23-Emerald IVAnswer
23-Emerald IV
September 25, 2014

Assuming you're using one of the later versions of Windchill, you need to create a condition in your publish rules based on document type.

<condition name="CAD_Drawing">

<attribute name="epmdoc_docType" value="Drawing"/>

</condition>

<condition name="CAD_Part">

<attribute name="epmdoc_docType" value="CAD Part"/>

</condition>

<condition name="CAD_Assembly">

<attribute name="epmdoc_docType" value="Assembly"/>

</condition>

<authoring-application name="PROE">

<if condition="CAD_Drawing">

...do stuff

</if>

<if condition="CAD_Part">

...do stuff

</if>

<if condition="CAD_Assembly">

...do stuff

</if>

</authoring-application>

srammohan1-VisitorAuthor
1-Visitor
September 26, 2014

Thanks Tom . It worked Perfect.