×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Save as PDF modification

Save as PDF modification

Save as PDF modification

(OP)
Hello,
I used to have a macro for swx 2006 that did what I needed, but it is lost. I want to save "501-09-1336.PDF" that is listed below as the current file name that is open. What is below is just a recorded macro of that file saved as a pdf. Any suggestions? I have no code background, FYI! SWX 2012 X64 is current edition. thanks a bunch

Dim swApp As Object

Dim Part As Object
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long

Sub main()

Set swApp = _
Application.SldWorks

Set Part = swApp.ActiveDoc
Part.ViewZoomtofit2
longstatus = Part.SaveAs3("C:\Users\ccc\Desktop\501-09-1336.PDF", 0, 0)
End Sub

RE: Save as PDF modification

Look for the SaveAs PDF 1.22 at the following link:
http://sw.fcsuper.com/index.php

-Dustin
Professional Engineer
Pretty good with SolidWorks

RE: Save as PDF modification

Personally, I use SWupBB lite. It saves the pdf (and/or dxf and/or dxf) everytime you save the drawing file.
This version , http://www.sloworks.fi/shop/product.php?id_product... is free, newer ones are cheap.

--
Hardie "Crashj" Johnson
SW 2011 SP 4.0
HP Pavillion Elite HPE
W7 Pro, Nvidia Quaddro FX580

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources