×
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

Print all drawings associated to ASSY, maybe MACRO assistance

Print all drawings associated to ASSY, maybe MACRO assistance

Print all drawings associated to ASSY, maybe MACRO assistance

(OP)
Hello all,
I am looking for a way to print all drawings associated with an assembly and I thought that a MACRO would be the easiest way.  However, if there is some SW function that will help with this please let me know.

Thanks,
BB
SW2010 SP2.1
PDM Enterprise

RE: Print all drawings associated to ASSY, maybe MACRO assistance

Unfortunately, it's the drawings which keep track of referenced models. The models don't keep track of referenced drawings.

So drawings residing in a directory other than those listed in a macro's search path, will not be found.

RE: Print all drawings associated to ASSY, maybe MACRO assistance

If the drawings have a naming convention that can be derived from that models that they reference... there is hope.  i.e. Model name or number 1001234.sldprt and drawing name 1001234.slddrw.

This would allow you to go through (parse) the assembly and generate a list of drawing files to open.  You would then print those open drawings.

Does a macro exist that already does this?  I am not sure.  You may want to look into:
http://batchprocess.angelsix.com/
http://sw.fcsuper.com/index.php?name=UpDownload&req=viewdownloaddetails&lid=9
 

-Dustin
Professional Engineer
Certified SolidWorks Professional
Certified COSMOSWorks Designer Specialist
Certified SolidWorks Advanced Sheet Metal Specialist
 

RE: Print all drawings associated to ASSY, maybe MACRO assistance

correction... just came back from lunch and brain is not working.

In the above... it should read "derived from the models that they reference" and (traverse) not (parse).  

-Dustin
Professional Engineer
Certified SolidWorks Professional
Certified COSMOSWorks Designer Specialist
Certified SolidWorks Advanced Sheet Metal Specialist
 

RE: Print all drawings associated to ASSY, maybe MACRO assistance

Hi, BodyBagger:

It is more PDM than Solidworks.

I can print all drawing documents (part and assembly) associated with an assembly automatically with one little click.  Also, I can print all assembly drawing documents where a part is used.

What you need to do is to use Macro or API to read BOM of an assembly, and scan all its components. When you retrieve the component drawing numbers, you can batch print all of them.

The trick is that you need to set up your part number system, so that when you are given a part no., you know for sure where it is located.  I do one drawing per part (item).  If you do configuration or tables for items, it can become complicated.

You can do the same thing with all assembly drawing documents where a common part is used.  You will need to query your PDM to get list of the assemblies, and batch print them.

Good luck!

Alex

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