×
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

Configuration Saveas Macro

Configuration Saveas Macro

Configuration Saveas Macro

(OP)
I have a part file with say 20 configurations that I want to "saveas" to different file types. Is there a macro available that would break out the configurations into a specific file type?

RE: Configuration Saveas Macro

(OP)
I ran the Config Ripper and got an "Error 91: Object variable or With block variable not set" any ideas of how to correct this issue?

RE: Configuration Saveas Macro

(OP)
Cor...that works awesome for breaking out the configurations. Would there be a modification that you can think of to the code that would allow me to change the extension...basically create a saveas function vs. a static function?

RE: Configuration Saveas Macro

I prefer ConfigRipper, but here's a third option:  SaveConfigurations
This is from CADimensions. (a VAR)

Joe
SW Office 2008 SP5.0
P4 3.0Ghz 3GB
ATI FireGL X1

RE: Configuration Saveas Macro

(OP)
All...A quick little mod to the extension in the Split Config file allows you to translate to any file extension available in the saveas command. I really appreciate all the help, you've all been great.

Best regards, Mike

RE: Configuration Saveas Macro

Mike,

Could you show us the line that you changed, and what you changed it to?  I've always split the config's, then do a "save as" manually.

Joe
SW Office 2008 SP5.0
P4 3.0Ghz 3GB
ATI FireGL X1

RE: Configuration Saveas Macro

(OP)
Change line:
name = fname + "-" + configs(i) & ext

To ( .sat could be .stp or .igs or any extension you want):
name = fname + "-" + configs(i) & ".sat"

This is my new favorite macro...

RE: Configuration Saveas Macro

Mike,

Thanks.  After I asked, I did find a macro I had saved that does this.  DocExport from http://www.lennyworks.com/solidworks/default.asp?ID=20

This one allows you to select which configs you want to export, in the event you don't need all 20 of them.

Joe
SW Office 2008 SP5.0
P4 3.0Ghz 3GB
ATI FireGL X1

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