Hello everyone, I’m doing some stuff with Revit API by Python. Everything works well except a small problem. Because my family names were named in German so some characters are not ASCII (as shown in the image). How can I solve it without changing the family name? I would appreciated with your help.
I’ve found the solution. Just adding this to the first line of the python code:
# -*- coding: <encoding-name> -*-
In my case the encoding-name is utf-8. So it would be like this:
# -*- coding: utf-8 -*-
And everything is fine now.
4 Likes