Notifications
Clear all

[Closed] Read matrix3 from ini file

Hi,

I guess this will be funny question for many maxscripters, but I couldn’t figure it out.
I want to save some matrix3 transforms to ini file and than read them back. Saving is easy, but I”m unable to read it, always getting some conversion errors. So far i have solved it by saving each value separately and reading it back separately and then reconstructing matrix3.

Is there a way how to load the whole matrix3?

Thanks

2 Replies

just read the value as a sting and execute it


str = GetINISetting  "c:/test.ini" "Matrix" "world"
 val = execute str

Thanks, I have never used execute before, so time to try