save as multi-formats

Hi,

I was looking for a macro that saves all drawings documents opened in multiple formats (pdf, dxf and jpg) in fonction of the custom properties (dxf and jpg in "yes or no" format).  I found one and tried to customize it.

I think I'm pretty close but can't find what's wrong with it...

can you please help me to get it fixed?

I put a test drawings for you guys

P.S.   it need to save all opened drawings documents...

thanks a lot...

SolidworksApi macros