A while back, I placed a post that got one response to my question..............mine.
Now, I am back with a tougher challenge.
SOMETIMES, when using the "Convert PDF" task in EPDM drawing entitites are dropped from the file. I have attached sample files.
What has been attempted as a solution:
1. added line "swApp.visible = True" to task script.
a. this helps, sometimes
b. still have unpredictable loss of drawing data after this was added
2. Added line "swDocSpecification.IgnoreHiddenComponents = True" line as noted below.
a. caused PDF creation to slow down to a crawl
b. caused tasks to not show up in task list
c. this has been removed after the initial change since it didn't seem to provide any positive forward movement to a solution
This one has SolidWorks stumped. Is there anyone out there who (1) has this same problem and (2) has come across a real solution?
Try adding this
>>>> swModel.ForceRebuild3 True <<<
right before this line.
Success = swExtension.SaveAs(..........)
Retrieving data ...