Does anyone know how to avoid regenerating the screen after i modify a layer using sds_entmod ?

The problem is that i modify a list of layers and after each sds_entmod an automatic regen take place. That's slowing down my application a lot. Trying to set any system variable related to screen regen to an off value didn't had any result.

In the Layers Explorer there is a button that's turning on/off screen regen but it doesn't have any influence on my app.