The code is fine.
The problem is entirely within Etabs. You must ensure you have the Load Cases/Combinations options enabled for export in the software. Otherwise, this problem will occur.