[Closed] Making custom buttons persistent
Tried the code which works fine within a session of max, even after closing and re-opening the file – however the saved file doesn’t work after max itself is closed and re-opened…obviously the global timer has to be called on each occasion, whereas I want everything to operate as expected without the user having to run any script at all.
I cant place the timer within the attr defintion. If I just put showdialog and forget about the timer, then the window comes up but of course the dotnet button does nothing. Frustrating .
the good practice is to use global CA. so what i do… in some startup script i do CA definition and create ExecuteTimer… i use this timer every time to show a .net dialog launched from my CA. that’s only way that i know how to keep firing events for .net controls defined in a CA body.