×
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

Batch Process and Custom Macro

Batch Process and Custom Macro

Batch Process and Custom Macro

(OP)
I am looking for a macro that will allow me to select a directory, then run a given macro on all the files in that directory.

Found this post ... http://www.eng-tips.com/viewthread.cfm?qid=209635

But I am not sure what the macro is actually doing.  I ran it and didn't see where it did anything to my files.

Can I adapt the modules to accomplish my goal?  Where is the code that is actually doing something?

Is there a better way to batch a macro across an entire directory?

RE: Batch Process and Custom Macro

(OP)
By the way - I know that SolidWorks task scheduler can help out, but there are limitations and I can't use it.

RE: Batch Process and Custom Macro

(OP)
Well, I can certainly take a look at your macro, but I do not want to create an new assembly or reassign colors.

I want a routine that will allow me to select a directory, then run a designated macro on that directory.

I want to batch all drawings to a PDF: I run the batch macro, designate the directory, maybe designate the macro I choose to run.

Then I want to convert all drawings to DWG. I run the batch macro, designate the directory, maybe designate the macro I choose to run.

Next I want to run a special custom macro. I run the batch macro, designate the directory, maybe designate the macro I choose to run.

RE: Batch Process and Custom Macro

macro, smackro, why not just use PAC4SWX ?

--
Hardie "Crashj" Johnson
SW 2010 SP 2.1
HP Pavillion Elite HPE

 

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