Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Creating a macro to automatically generate a drawing 1

Status
Not open for further replies.

nickjb

Mechanical
Jun 19, 2007
35
0
0
GB
I am considering writing a macro for setting up 2D files for our CNC machine. What I want it to do is create a drawing of an assembly and add a 'top' view for every individual part within the assembly. I have a 'manufacture method' custom property so I might use that to weed out the parts that don't use 2D CNC but for now adding a view of every part would be a good start.

Before I begin:
Has someone done this before and is willing to share?
Is it going to be hard to write and more trouble than it is worth?

I've written a few macros but I'm pretty new to it so not sure where to begin. Any helpful hints and tips would be appreciated. Some suggested code would be even better :)

 
Replies continue below

Recommended for you

Tobin,

Thanks for the quick updates. It wasn't working for me earlier but to be strange they working now.

Deepak Gupta
SW2009 SP3.0
SW2007 SP5.0
MathCAD 14.0
 
Status
Not open for further replies.
Back
Top