×
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 sheets as file types

Save sheets as file types

Save sheets as file types

(OP)
Hi There,
I have a query, (lets first start with my experience with macros, something comparable to a bull riding a bike). Lets say I have a drawing sheet set that looks like this,
Sheet 1 - Named sheet1
Sheet 2 - Named sheet2
Sheet 3 - Named 1
Sheet 4 - Named sheet3
Sheet 5 - Named 2
All the sheets pull custom properties from the models, no drawing custom properties are used at all.

Is it possible to use a macro (either one separate or a combined macro) to print all the sheets that are named sheetXX (ie sheet names start with a letter) as a PDF named the same as the drawing name (excluding the sheets that start with a number).
And then similar again, but this time save out each sheet that starts with a number as a separate DXF with the file name being equal to a custom property, in this case it would be PRP:PartNo, and excluding all the sheets starting with a letter.

Please keep in mind that the custom property is pulled from the part itself ie PRP:PartNo@part 'x'

And on top of this the pdfs to be saved in the same directory as the drawing, and the dxf to be saved in the directory as the part.

Too much for my first post???bigcheeks

Cheers

Oh and if any one has a macro that can could get me a beer from the fridge once I finish work that would be great alsoafro

RE: Save sheets as file types

I'm not sure how to do this with a macro (or API). But, seems like something that someone could do with API.

We don't have any macro-brewery's nearby. Sorry.

Chris, CSWA
SolidWorks 14
SolidWorks Legion

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