Hello Aadelaadel Fd,
I can tell you how to do it in SAP2000. I don't have ETABS or SAFE installed but I hope that will help you since the interface for all three software is similar.
In SAP2000, Go-to: Define>Load Pattern. Create a new load pattern and assign the type as temperature.
The next thing to do is to select the frame member you want to apply this load, and go-to: Assign>Frame Loads>Temperature.
That is it. Run the analysis and you are done. I have checked the results using an online website and they matched.
Technically speaking, you should be checking all the limit states. So you can apply the temperature loads along with other loads to see what you get. You can also use judgement for the cases where you are confident. Please see ASCE 7 for details about what companion loads to consider with temperature load .
Link to Online Calculator: https://www.engineeringtoolbox.com/linear-thermal-expansion-d_1379.html
Thanks.