Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Batch Process and Custom Macro

Status
Not open for further replies.

Fixturedesign

Mechanical
Nov 20, 2002
40
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 ...
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?
 
Replies continue below

Recommended for you

By the way - I know that SolidWorks task scheduler can help out, but there are limitations and I can't use it.
 
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.
 
macro, smackro, why not just use PAC4SWX ?

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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor