×
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

Macro to rename ass, sub-ass, parts, drawings...

Macro to rename ass, sub-ass, parts, drawings...

Macro to rename ass, sub-ass, parts, drawings...

(OP)
Hello all,

I frequently have a new project number that is similar or identical to a previous project number for an assembly and all of its parts and drawings.

I was wondering if there is a way in which I can quickly rename a copy of the old files instead of using "save as" for each assembly, sub-assembly, part and their drawing files.

Much appreciated,
Andrew

RE: Macro to rename ass, sub-ass, parts, drawings...

When you "Save As", you can rename all of the files that belong to a single assembly.  In the "Save to" menu, click the "References" button.  There you can "save As" all of the loaded reference files.  You can specify new directories, and do find/replace for parts of file names.

I could be the world's greatest underachiever, if I could just learn to apply myself.
http://www.EsoxRepublic.com-SolidWorks API VB programming help

RE: Macro to rename ass, sub-ass, parts, drawings...

(OP)
Thanks for your tip it helps but I cant seem to be able to reference the Drawing files of the parts in the assembly.

Anyway you know of to do that?

RE: Macro to rename ass, sub-ass, parts, drawings...

No easy way.  One possibility (if your project isn't too large) is to have all of the drawing files open the same time you save assemblies and parts.  Then, when drawing files undergo "Save As", they are referring to the newly-renamed parts.

I could be the world's greatest underachiever, if I could just learn to apply myself.
http://www.EsoxRepublic.com-SolidWorks API VB programming help

RE: Macro to rename ass, sub-ass, parts, drawings...

...or use SW Explorer

Chris
Sr. Mechanical Designer, CAD
SolidWorks 05 SP3.1 / PDMWorks 05
ctopher's home site (updated 06-21-05)
FAQ559-1100
FAQ559-716

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