Skip to main content
15-Moonstone
June 20, 2023
Solved

Publish Rules for AutoCAD

  • June 20, 2023
  • 1 reply
  • 3424 views

Hi All,

After various troubleshooting we were able to configure Custom AutoCAD worker to generate pdf.

Now we are trying to create publish rules to stop publishing on check-in.

It should only generate on specific state and manual creation of representation.

Attached is the script we tried however it not working.

Added AUTOCAD to publish.usesPublishRules in wvs.properties.

Any suggestions would be appreciated.

Thanks.

 

Best answer by DKWc

Found the solution publishing rules working fine for AutoCAD.

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
June 20, 2023

Hi @DKWc 

You need to set wvs property to use publish rules for AUTOCAD

the property is: publish.usesPublishRules

 

default is ARBORTEXT and GALAXY so AUTOCAD is missing in that property.

 

https://www.ptc.com/en/support/article/CS111916

 

PetrH

DKWc15-MoonstoneAuthor
15-Moonstone
June 20, 2023

Hi Petr,

Made the changes in wvs properties and then applied rules.

Unfortunately no go.

DKWc_0-1687243155863.png

 

HelesicPetr
22-Sapphire II
22-Sapphire II
June 20, 2023

Hi @DKWc 

The point is if the AUTOCAD is supported to use the publish rules.

 

I've checked help, and can not find autocad as a option - authoring aplication. 

 

check this> WVS Publish Rules Enable

 

try to use all options. 

 

Or contact PTC support to get correct option if it exists.

 

PetrH