Superscript in EngUnits via scripting

Trying to change the EngUnits to mm/s². No matter what I do I get mm/s²

Current code is below.

units="mm"
u=r"{}/s{}".format(units, u"\00B2")

Try using u"{}/s{}" for your format string (instead of raw format).

1 Like

No change

I read that wrong. Your are correct, thank you for your help.

1 Like