Script helps enable and Off UI of export selection And is there a way to script it to set the bake animation distance?

i am writing a script related to export, but i have no way to enable and Off the UI of export selection . Does anyone have a way?