Save View-Only drawing as PDF
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Save View-Only drawing as PDF

 
Post new topic   Reply to topic    CADForums.net Forum Index -> SolidWorks
Author Message
lcifers
Guest





Posted: Fri Dec 09, 2005 1:10 am    Post subject: Save View-Only drawing as PDF Reply with quote

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 Reply with quote

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 Reply with quote

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
 
Post new topic   Reply to topic    CADForums.net Forum Index -> SolidWorks All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB