Check Flat-pattern

Hi,

Whether you're on flat-pattern configuration, does not appear properly until not mark off that option ... How can automate this?

Thanks

SolidworksApi macros