| Author |
Message |
lcifers
Guest
|
Posted:
Fri Dec 09, 2005 1:10 am Post subject:
Save View-Only drawing as PDF |
|
|
I have written apps that batch saves PDF documents from SW drawings and
to save time loads the drawings (which are assumed to be last saved
since the model was changed) as view-only. I am starting a new one now,
and it looks like something in SW has changed. The only save option for
view-only drawings is PDF (and save as PDF via API call fails). I've
tested on SW 2005 and 2006. The funny thing is, the last app I wrote
for this ran on SW 2005, but I dont remember what service pack.
I have the SaveAsPDF addin loaded and when opening drawings normally I
can save as PDF with no problem.
Does anyone have any more information on this? Or better yet, am I
missing something and the functionality is still there (wishful
thinking I'm afraid).
Thanks in advance.
Regards,
- Luther
|
|
| Back to top |
|
 |
Markku Lehtola
Guest
|
Posted:
Fri Dec 09, 2005 9:10 pm Post subject:
Re: Save View-Only drawing as PDF |
|
|
Hi,
are you using:
Debug.Print Model.SaveAs4("D:\samples\d1.pdf", 0, 0, e, w)
or something else (is there other ways?)
I'm using it on add-in but without "view only" and it works ok in
05sp3.1 and 06sp1.0.
--
regards
Markku Lehtola
www.markkulehtola.net |
|
| Back to top |
|
 |
lcifers
Guest
|
Posted:
Mon Dec 12, 2005 5:10 pm Post subject:
Re: Save View-Only drawing as PDF |
|
|
Yes, I'm using the SaveAs4 call. The call works fine, it's only that I
am unable to save as PDF when drawing is opened view-only. SolidWorks
support has told me that this is normal behavior, so I am unsure why
this worked in the past, but aparrently it's not supposed to :)
Regards,
- Luther
|
|
| Back to top |
|
 |
|
|
|
|