AnsweredAssumed Answered

Help getting macro to run through folder

Question asked by Tim Curtis on Mar 29, 2016
Latest reply on Mar 29, 2016 by Tim Curtis

Hi!  I am trying to get a macro to draw a bounding box on each part and assembly within a folder, and add the length, width, and height to the properties.  I found a macro online and modified it to get the data I need when the file is open, but I don't want to open each file individually and run the macro by hand.  I've read about the dir() function, and using macros through task scheduler, but can't seem to get the whole thing pulled together.  If anyone has a few minutes and wants a big pat on the back, can you please let me know what to change, or modify the macro as it needs to be and note what changed?  I've reverted back to the last working macro I have.  Thanks!!!

 

-Tim

 

Running Solidworks 2015

Attachments

Outcomes