nice to see the error
you have the working codes for thsi example with proper scope!
but this mutable things is not like in old program like basci or fortran
where you var were defined at the beginning like real or int complex
and it would stay like tht for the whole program
python is more evolved i guess but can trap you more often ! LOL
but what about the difference between prop and scene properties
and what about this object thing if still valid?
are prop like defined locally may be
one thing i think prop are for the tool pro panel by default only i think
so easy to use when doing an operator for the tool pro panel may be using add mesh menu
and i guess if you have other panel you need to go through with scene properties?
or am i missing something here?
mind you for the string property
prop can be defined for [‘FILE_PATH’, ‘DIR_PATH’, ‘FILENAME’, ‘NONE’]
but the scene properties cannot it’s only a string may be
and you can assign to a scene property a prop
if you avhe a chance look at my other thread for old prop
it will clarify things i guess with that example i tkink
happy 2.5