Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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.
Solved! Go to Solution.
Found the solution publishing rules working fine for AutoCAD.
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
Hi Petr,
Made the changes in wvs properties and then applied rules.
Unfortunately no go.
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
Found the solution publishing rules working fine for AutoCAD.
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.
Propagate ACAD instead of AUTOCAD to publish.usesPublishRules
And use ACAD as authoring application name in publish rule xml.
It should work.