fileProperties.addProperty #custom "TEST" 1234
idx = fileproperties.findproperty #Custom "TEST"
Is it safe, that after creating such a file property, the index will never be changed again, no matter if other props are added later?
Solved! Go to Solution.
Solved by istan. Go to Solution.
It is a time critical application and I don't want to waste time in the script, when not neccessary. I did not find any other solution on how to send a value back to a C++ plugin - (assuming AppData takes the same time). The best would be a script could return a value to C++, but this does not exist..
I know you are the scripting guy 😉 Some time ago I got an email saying that SDK developers from AD will also check this board periodically soon... well, when is soon?
In SDK you can do almost everything - more than in MaxScript. I do not know, if I have access to the script parser from SDK, as I can only execute scripts but without any return code. Therefore there is no direct access from SDK to the MaxScript variables - at least I do not know of.
fileproperties, nodeproperties, appdata,..: all those exist in both environments, but they all have some overhead.