It worked when I tried this is 2023 R1. What version are you using? What error do you get?
I used a result file computed when solving in Mechanical. How was your result file computed? I am just noting that the documentation page says "Unit system to be used if not present in the result file."