SW api dimensioning how not to pop up window?

SW api dimensioning how to not pop up the following picture window

SolidworksApi/macros