Skip to main content
1-Visitor
September 30, 2015
Question

Publishing Embedded JPG Images

  • September 30, 2015
  • 17 replies
  • 7498 views

Recently our users began inserting jpg images into their CAD drawings to provide reference information. The images display properly when plotted/printed, however when the drawings are checked-in to PDMlink, our cadworker fails to publish the embedded jpg images.

I'm certain this error is 'Admin Inflicted', and that I am probably just missing a step in creating the recipe file, but for the life of me I can't seem to figure out what I'm missing.

I would appreciate a little nudge in the right direction.

We are using:  Creo Elements / Pro 5.0  and CreoView3 Adapters.

Thank you,

Steve

17 replies

23-Emerald IV
October 1, 2015

JPEG files don't need to be published.  They can be opened directly by Creo View.  You just need to configure the publisher to know this.

Automatically generate representation for pre-converted files (CS36856😞

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..DWG=DUMMY,preconverted=true

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..DXF=DUMMY,preconverted=true

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..PDF=DUMMY,preconverted=true

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..BMP=DUMMY,preconverted=true

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..JPG=DUMMY,preconverted=true

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..TIF=DUMMY,preconverted=true

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..GIF=DUMMY,preconverted=true

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..PVZ=DUMMY,type=zip,preconverted=true

xconfmanager -t codebase/WEB-INF/conf/wvs.properties -s worker..EDZ=DUMMY,type=zip,preconverted=true

xconfmanager -p

srector1-VisitorAuthor
1-Visitor
October 1, 2015

Thank you for your quick reply Tom!

Does this solution apply to EPMDocuments too?  In our case we are pasting a JPG image into a ProE drawing (*.drw file).

CS36856 appears to be aimed at publishing that collection of file formats as WTDocuments.

Thanks,

Steve

23-Emerald IV
October 1, 2015

Ah, I should have read your original post more closely.  No, EPMDocuments (CAD Documents) are still going to be handled by the normal publisher (CAD Worker).

What format are you publishing your drawings to?  You may need to switch to PDF.  I'm not sure if any of the other types will properly embed a JPG file.

pdf.PNG

14-Alexandrite
November 13, 2015

I configured our worker to publish PDFs & Image files, but I do not get a thumbnail.

I followed the steps in Automatically generate representation for pre-converted files (CS36856😞

Per Tom's recommendation, and it works OK with JPG files, or any other image file I identified, but not PDFs.

Does anyone know if there is something different I need to do for thumbnails?

BenPerry
15-Moonstone
November 16, 2015

Tim Gudobba‌‌,

I think your questions is a little off-topic for this discussion.  This discussion is more about publishing EPMDocuments that have images in them.  You're talking about WTDocuments have have images or PDFs as the primary content.

Nonetheless, I'll entertain your question.    Because I am in the same boat as you, and I've open a tech support ticket that we're currently working through.  Nothing has come to light yet.  I'm getting thumbnail images for DWG, TIFF, and JPEG file types, but not PDF yet.

14-Alexandrite
November 17, 2015

Thanks Ben, I guess I wasn't sure how to ask the question. As I mentioned, after following Tom's instructions, I was able to see some images as thumbnails. So I figured posting a reply in this discussion would yield an answer. I'll open my own TS ticket with PTC and see what we get.

23-Emerald II
November 20, 2015

How many workers do you have configured on this machine? If you only have it configured to run one instance of your worker then it should not have multiple pvsthumb.exe, workermonitor.exe and pview_batch.exe.

What shows up for number of instances if you look in the agent.ini on your Windchill server?

;

[worker1]

distributed=false

autostart=true

host=platx24m30

autobusystop=

autoidlestop=

starttime=60

startfromlocal=FALSE

autoerrorstop=false

hosttype=local

remotepath=

exe=C:\ptc\3.0_M030_creo_view_adapters\proe_setup\proeworker.bat

localpath=ftp:

password=

maxinstances=1

shapetype=PROE

prompt=

availabletime=

username=

port=601

;