Tuesday, February 07, 2012
batch .NET program to convert Solid Edge files to PDF
Last Post 12 Feb 2010 04:17 AM by francesco marcheluzzo. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
francesco marcheluzzoUser is Offline
New Member
New Member
Posts:12

--
10 Feb 2010 09:51 AM  

In Solid Edge ST2 we can save directly a PDF file manually with "Save As". To do that Solid Edge ST2 uses a special printer called: "Solid Edge Velocity PS Printer 2.0".  I need a batch program: could you suggest me the .NET code to convert in PDF the current drawing?

Wolfgang KunertUser is Offline
Basic Member
Basic Member
Posts:127

--
10 Feb 2010 12:38 PM  
Hi francesco,

saving the current draft file as pdf is quite simple:

...
Dim dftDoc As SolidEdgeDraft.DraftDocument = Nothing
dftDoc = CType(seApp.ActiveDocument, SolidEdgeDraft.DraftDocument)
dftDoc.SaveAs(pdfPathName)
...
Wolfgang Kunert
dipl.-ing. wolfgang kunert systemprogrammierung
www.wksyspro.de
francesco marcheluzzoUser is Offline
New Member
New Member
Posts:12

--
12 Feb 2010 04:17 AM  

Perfect, thanks a lot!

You are not authorized to post a reply.

Active Forums 4.2
Copyright © 2011 JasonNewell.NET