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

How i can configure cad-worker or cad-agent for multiple output format.

SOLVED
RenatShaimardan
Regular Member

How i can configure cad-worker or cad-agent for multiple output format.

How i can configure cad-worker or cad-agent for multiple output format.

For example, convert drw to pvs and to dwg and to pdf.... and this files view in representation page.

Best regards,

Renat Shaimardanov

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How i can configure cad-worker or cad-agent for multiple output format.

With Windchill 10.1 M010+, this is supported OOTB!

Please refer to the Help Center under Windchill 10.1 Publish Rules Enhancements.

As well as this KB article:

https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS103359

Enhancement in 10.1 M020

http://www.ptc.com/appserver/wcms/relnotes/note.jsp?&im_dbkey=150099&icg_dbkey=826

I believe there is also another post in the Community with a sample .xml file.

View solution in original post

9 REPLIES 9

Re: How i can configure cad-worker or cad-agent for multiple output format.

I'd like that on answered as well and I'm sure there's more of you out there. At every new Windchill build or release, we hope to find a simple way of doing that (without too much customization...).

In our case, we'd like the CAD worker to generate STEP files automagically, just as it builds PV files. It must be possible, since the CAD worker is a ProE which has the capability.

If any-one has an answer or even an idea, you could make some people happy

Re: How i can configure cad-worker or cad-agent for multiple output format.

It's not possible OOTB, but I saw a customization for 9.1 which adds CAD Worker the "multiple outputs functionality" for drawings.

In Windchill 10, as far as I know, it's still not possible OOTB (at least, as of 10.0 M010)

Also remember that you can always manually "Save A Copy" all the required formats from Creo (Pro/E) and they will be stored in Windchill as Secondary content to the 3D model or drawing.

Re: How i can configure cad-worker or cad-agent for multiple output format.

Fishbowl solutions has a product called linkAccess that can publish anything you want and add it to the attachments tab. I use it to create PDF's and DXF's withing my workflows to capture the approvals and add them to a cover sheet within the PDF based off of state changes and workflow steps. It works independantly of the cadworker.

Re: How i can configure cad-worker or cad-agent for multiple output format.

Customisation is the solutions for this conversion to happen . Ideally the Worker usage in this will be propotional to the number of file conversions involved.Like if i want to convert a drw to DXF & PDF o/p , WOrker will first complete the conversion of DXF and the again vizualise the PDF conversion.Two request will be send to WOrkers in this case for a same job.

Re: How i can configure cad-worker or cad-agent for multiple output format.

With Windchill 10.1 M010+, this is supported OOTB!

Please refer to the Help Center under Windchill 10.1 Publish Rules Enhancements.

As well as this KB article:

https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS103359

Enhancement in 10.1 M020

http://www.ptc.com/appserver/wcms/relnotes/note.jsp?&im_dbkey=150099&icg_dbkey=826

I believe there is also another post in the Community with a sample .xml file.

View solution in original post

Re: How i can configure cad-worker or cad-agent for multiple output format.

the functionality is OOTB for Pro/e / CREO but not available for most other 3rd party CAD. My understanding is that 10.2 might provide this functionality for some of the third party CAD.

Re: How i can configure cad-worker or cad-agent for multiple output format.

Another solution is PLM Worker from NajaNaja http://www.najanaja.com/plmworker.

Basically you want to create a framework that will allow you package the contents and send it over to CAD the worker where the conversion takes place.

You can do it yourself if you have some programming knowledge.

1) Package the EPM structure in Windchill. (Ask PTC how to get structure and content. This should be supportable API)

2) Send to CAD worker using HTTP, FTP or any other protocal

3) Do the conversion using PTC's Object Adapter - PTC's object adapter is pretty powerful and allows you to do stuff from the command line.

4) After conversion, send the data back to windchill.

5) Update representation (Ask PTC how to update representation using INI file or API)

Re: How i can configure cad-worker or cad-agent for multiple output format.

Hello Sudeep,

For the last point #5 above, for updating the reprenstation is there any spported API?

we have a code that creates / updates (including rename) the existing representation. Every thing seems to be fine including thumbnails etc. and down stream code is also able to fetch the new representation created etc....except for one issue that when user directly open the representation in product view using the thumbnail on details page, we get an error related to some URL not found.. however when downloaded to disk the representation opens fine in product view.

with platinum suport, PTC mentioned that api used is unsupported and they do not support creating representation directly.

we were using below classes to create/update representation directly without use of dopulish() method to sent to worker.

com.ptc.wvs.server.util.PublishUtils;

Re: How i can configure cad-worker or cad-agent for multiple output format.

Hello I am looking exactly for the same issue.

Anyone knows how this can be tackled , even I am facing same issue.

Without pulishing I am updating Publsihed PDF of drawing and saving it in default representation.

I use:- ContentServerHelper.service.update(contentholder,Applicationdata,InputStream);

ApplicationData is the Publsihed PDF where I am updatimg new watermarked PDF.

Everythinh works fime , even export repr and check PDF, new PDF is availble and all content with additional watermarks too,

But later when open in Creo View or open Thumbnail of Drawing(epmdoc) it throws error.

Error is:-

2015-02-05 18:56:30,267 ERROR [ajp-bio-8010-exec-2] wt.method.client.httpgw in-admin-rs01 - MethodRequestHandler Exception: An exception occured while processing the request.

(wt.fc.fcResource/32) wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.content.ApplicationData.1382745847" because it no longer exists.

at wt.fc.StandardPersistenceManager.restore(StandardPersistenceManager.java:1937)

Issue is really very urgent to solve.

Announcements