cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Publish Rules for AutoCAD

DKWc
15-Moonstone

Publish Rules for AutoCAD

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.

 

ACCEPTED SOLUTION

Accepted Solutions
DKWc
15-Moonstone
(To:HelesicPetr)

Found the solution publishing rules working fine for AutoCAD.

View solution in original post

6 REPLIES 6
HelesicPetr
22-Sapphire I
(To:DKWc)

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

DKWc
15-Moonstone
(To:HelesicPetr)

Hi Petr,

Made the changes in wvs properties and then applied rules.

Unfortunately no go.

DKWc_0-1687243155863.png

 

HelesicPetr
22-Sapphire I
(To:DKWc)

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

DKWc
15-Moonstone
(To:HelesicPetr)

Found the solution publishing rules working fine for AutoCAD.

buenosroas
13-Aquamarine
(To:DKWc)

Would you care to post your solution here, so that others with the same issue may find it by searching? Did you propagate something other than AUTOCAD to publish.usesPublishRules? Or what was the end result of your xml? All in the light of the good community spirit.

DKWc
15-Moonstone
(To:buenosroas)

Propagate ACAD instead of AUTOCAD to publish.usesPublishRules

And use ACAD as authoring application name in publish rule xml.

It should work.

Announcements

Top Tags