Hello everyone. I’m trying to fetch keyframe values and modify them in a popup. I can get the values alright, but I’d like to maintain their original formatting (subtype/unit).
Example: If I’m modifying an angle value (FloatProperty with
subtype="ANGLE" ), I’d like to have it displayed the same way. Currently since I’m fetching just the value, I get the equivalent in radians.
I’m wondering, is it possible to access these enum values defined for each property? Could they be accessed from the fcurve, or does the fcurve stores a reference to the name of the property?
EDIT: Rephrased the post for better clarity.