How can I turn off 'Instant 3D' ?

I would like to turn off Instant 3D only if it is enabled.

Thank you

SolidworksApi macros