Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Macro to put parts onto unique layers.

Status
Not open for further replies.

CMcF

Mechanical
May 28, 2003
149
I have written a macro to put all the geometry from a layer into a part. This allows me to export my SWX BOMs into my current database. The schlepp is that I have to put all my swx parts on to their own layer manually. Does anyone know how to do it automatically?
 
Replies continue below

Recommended for you

Durr, more information please. I didn't really follow what you're trying to do.
 
I believe CMcF wants an automated way to put each part in an assembly on a separate layer in the drawing file.
 
KenBolen,
Thanks, that is exactly what I meant. I only mentioned the ME10 macro, on the off chance that it could be useful to someone else.
 
check out the ChangeComponentLayer API call.

There is also some sample code on the SW website.
 
rocheey,
Thanks a lot. I shall let you kow how it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor