Turn on "Automatic solve order" using macro

Hi,

The problem occured after updating a bunch (~300 parts) from 2011 to 2012 using task schedular. After updating the parts equations, for some reason, do not solve in the correct order anymore. The problem is fixed by turning on "automatic solve order". However that is very time consuming doing manually.

I'm trying to figure out how to create a macro that turns on "Automatic solve order" automaticly and I whould like to run this operation using Task schedular. I'm having trouble figuring out how to create this.

Do anyone else have experience with this issue, maybee knowledge about how to create a macro that could help?

Thank you for respons

Kind regards

Magnus

SolidworksApi macros