To addon to @Alban_de_Chasteigner you can check to see if the desired export settings are loaded and if not load them.
This example is not for export settings but you should be able to reproduce a similar workflow for your needs here.
Edit:
I guess this does not really help. But Can I ask why do you not want to load your export settings into Revit?