I am using a dropdown in my grid editor module that has a large ID value (e.g. 26201430233). When I perform a GetValue(alias), it returns a string of the number in scientific notation e.g. "2.620143E+10" (reminds me of that annoying old Excel problem when pasting in numbers...)
I digress - the raw stored value is the correct format I want to retrieve so essentially I need to override the property value converters doing their thing. If this was a standard property I could perform a GetValue(alias).DataValue, but I do not know how to do this with LeBlender.
Allow to retrieve raw property value
I am using a dropdown in my grid editor module that has a large ID value (e.g. 26201430233). When I perform a GetValue(alias), it returns a string of the number in scientific notation e.g. "2.620143E+10" (reminds me of that annoying old Excel problem when pasting in numbers...)
I digress - the raw stored value is the correct format I want to retrieve so essentially I need to override the property value converters doing their thing. If this was a standard property I could perform a GetValue(alias).DataValue, but I do not know how to do this with LeBlender.
Any ideas? Thanks
I worked around this issue by adding a method to return the raw property datavalue myself. Hopefully it can be of use to others:
https://github.com/Lecoati/LeBlender/pull/24
is working on a reply...