Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Issue: Windchill SolidWorks Publisher prints BLANK representations Windchill 11 - Solid Works Premium 2016 x64 SP 5.0
When publishing .slddrw files in Windchill, the representations are now coming out blank. This WAS working. Not sure what has changed. We did add some additional file types...see additional_file_type_publishrule.xml below.
A normal slddrw as show in _SLDDRW.JPG - this is just how it looks in Solidworks then it turns into the visualization shown in _blankoutput.jpg
NOTE: you can see the title block and some of the call outs (circled in red) appear in the visualization, but nothing else. Already looked into the following: CS48758 and CS111431 - not sure if either are related. Didn't seem to be.
See SW recipe files - rcp1, 2, 2a, 3, 3a for current settings.
FYI: We do not use the GS Worker Daemon service, running in Foreground instead. --> Here's an portion of a job log...refers to issue with EDZ?
Jan 29, 2018 12:00:14 PM:Start Job: Drawing - 5-027633.slddrw, 3.2 Jan 29, 2018 12:00:14 PM:make temp dir D:\ptc\Windchill_11.x\Windchill\temp\pubtemp\publish2715433218653448342.tmp .......The EPMDocument Default Config Spec was selected as the default Jan 29, 2018 12:00:14 PM:Start: Drawing - 5-027633.slddrw, 3.2 Jan 29, 2018 12:00:14 PM:Authoring Application: SolidWorks Jan 29, 2018 12:00:14 PM:Transferring Files to: D:\ptc\Windchill_11.x\Windchill\temp\pubtemp\publish2715433218653448342.tmp Jan 29, 2018 12:00:14 PM:Number of Files Transferred: 2 Jan 29, 2018 12:00:14 PM:SolidWorks Drawing Conversion Jan 29, 2018 12:00:14 PM:Added request to SOLIDWORKS queue Jan 29, 2018 12:00:14 PM:No available connected worker Jan 29, 2018 12:00:14 PM:Starting new worker XXX.XXXXXX-SOLIDWORKS:1, attempt 1 of 3 Jan 29, 2018 12:00:35 PM:Job 5 submitted to worker: XXX.XXXXXX-SOLIDWORKS:1 Jan 29, 2018 12:00:35 PM:LOGID: worker_4.log Jan 29, 2018 12:00:35 PM: Loading Jan 29, 2018 12:00:40 PM: Begin Conversion... Jan 29, 2018 12:00:40 PM: Converting to Format DWG Jan 29, 2018 12:00:41 PM: Converting to Format PDF Jan 29, 2018 12:00:42 PM:End Conversion Jan 29, 2018 Jan 29, 2018 12:00:46 PM:Creating EDZ File Jan 29, 2018 12:00:46 PM:Unexpected Exception adding file to edz Jan 29, 2018 12:00:46 PM:Uploading Files Jan 29, 2018 12:00:47 PM:Processing additional files: 2 Files Jan 29, 2018 12:00:47 PM:End Store Drawing Viewable Files: 9 Files Jan 29, 2018 12:00:47 PM:remove temp dir: D:\ptc\Windchill_11.x\Windchill\temp\transfer\w4i1j5 Jan 29, 2018 12:00:47 PM:End: Drawing - 5-027633.slddrw, 3.2 Jan 29, 2018 12:00:47 PM:Representation Name: default Jan 29, 2018 12:00:47 PM:Check for out of date Representations Jan 29, 2018 12:00:47 PM:Number of Representations marked as out of date: 0 Jan 29, 2018 12:00:47 PM:End Job: Drawing - 5-027633.slddrw, 3.2 Jan 29, 2018 12:00:47 PM:Publish Complete event dispatched Jan 29, 2018 12:00:47 PM:remove temp dir: D:\ptc\Windchill_11.x\Windchill\temp\pubtemp\publish2715433218653448342.tmp
-----------------------
Here is the relevant portion of our additional_file_type_publishrule.xml
<authoring-application name="SOLIDWORKS">
<condition name="is_SW_Drawing">
<attribute name="epmdoc_docType" regex="(Drawing|Mise en plan)"/>
</condition>
<condition name="is_SW_Model">
<or>
<attribute name="epmdoc_docType" regex="(Assembly|Assemblage)"/>
<attribute name="epmdoc_docType" regex="(CAD Part|Modèle CAO)"/>
</or>
</condition>
<additional-files name="publish_SW_Drawing">
<file display-label="PDF" type="pdf" default="true" output-prefix="PDF" />
<file display-label="DWG" type="dwg" default="true" output-prefix="DWG" />
</additional-files>
<additional-files name="publish_SW_Model">
<file display-label="STEP" type="step" default="true" output-prefix="STEP" />
</additional-files>
<if condition="is_SW_Drawing">
<publish on="checkin" additional-files="publish_SW_Drawing"/>
<publish on="create-representation" additional-files="publish_SW_Drawing"/>
<publish on="unknown-source" additional-files="publish_SW_Drawing"/>
</if>
<if condition="is_SW_Model">
<publish on="checkin" additional-files="publish_SW_Model"/>
<publish on="create-representation" additional-files="publish_SW_Model"/>
<publish on="unknown-source" additional-files="publish_SW_Model"/>
</if>
</authoring-application>
Solved! Go to Solution.
Reinstall of Solidworks on CAD Worker PC resolved.
I don't see anything obviously wrong. I'd probably start by stripping the publish rules out temporarily just to make sure those aren't causing a problem. Also, if the drawing output is set to PDF then you really don't need to make an additional file PDF. There's no point making two PDFs for each drawing.
Reinstall of Solidworks on CAD Worker PC resolved.