AnsweredAssumed Answered

Troubleshoot compile error

Question asked by Todd Bennett on Sep 30, 2016
Latest reply on Oct 3, 2016 by Todd Bennett

I made this macro (with a lot of help) a couple years ago.  I used it in SW 2015, but now it won't work when I try to export.


What it is supposed to do:

It opens each Part file in a selected folder, one at a time, and changes the color based on the thickness (for CNC programmers).  If the "Export part files" is selected it creates a coordinate system at the intersection of the longest side (X), second longest side (Y), and shortest side (Z).  After that it exports based on which type you want.


To use it, first browse to a folder with at least one part.  I wouldn't use a folder with parts you don't want to change.

If I run at this point it is OK, but if I select the "Export part files" it gives me the compile error.  My programming skills are weak, so I'm not sure what to do.