Skip to main content
1-Visitor
November 26, 2014
Solved

Publishing Issue

  • November 26, 2014
  • 5 replies
  • 3252 views

Hi!

Can somebody help me how to publish .dwg drawing in windchill?., because when I'm upload .dwg drawing in windchill the visualization of the drawing is not working.

Thanks!

Best answer by TomU

There is not a Creo View adapter that is capable of publishing DWG (or DXF) files. Fortunately, one isn't needed since Creo View can open these files directly. The trick is to tell Windchill that the data has already been published and to just create the thumbnail. Full instructions can be found here:

Automatically generate representation for pre-converted files (CS36856)

Here are the commands I ran on my system to do this very thing: (10.2 M020)

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

After making the changes you will need to stop Windchill, clear the Tomcat caches, and restart.

5 replies

TomU23-Emerald IVAnswer
23-Emerald IV
November 26, 2014

There is not a Creo View adapter that is capable of publishing DWG (or DXF) files. Fortunately, one isn't needed since Creo View can open these files directly. The trick is to tell Windchill that the data has already been published and to just create the thumbnail. Full instructions can be found here:

Automatically generate representation for pre-converted files (CS36856)

Here are the commands I ran on my system to do this very thing: (10.2 M020)

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

After making the changes you will need to stop Windchill, clear the Tomcat caches, and restart.

Luar1-VisitorAuthor
1-Visitor
November 26, 2014

Hi Tom.

Thanks for the help. Where is the path to clear the tomcat cache?

<Windchill_Home>\tasks\codebase\com\infoengine\compiledTasks

I will delete the folder inside complied tasks?

Thanks!


23-Emerald IV
November 26, 2014

There are two folders to delete. I have these lines in a .bat file:

echo off

RMDIR E:\ptc\Windchill_10.2\Windchill\tomcat\instances /Q /S

RMDIR E:\ptc\Windchill_10.2\Windchill\tasks\codebase\com\infoengine\compiledTasks /Q /S