Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print all drawings associated to ASSY, maybe MACRO assistance

Status
Not open for further replies.

BodyBagger

Mechanical
Joined
Feb 23, 2007
Messages
459
Location
US
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
 
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.
 
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:


-Dustin
Professional Engineer
Certified SolidWorks Professional
Certified COSMOSWorks Designer Specialist
Certified SolidWorks Advanced Sheet Metal Specialist
 
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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top