Since you want to do this 'before drawings', it's worth mentioning that you can create a dvb called acad.dvb and if you put it in the search file path, it will load automatically at startup. Then if you have a public sub called AcadStarup in this dvb, it will run at startup. Here you can set your variables.
Alternatively, you can set the variable value you want in SYSVARMONITOR and it will notify you if it has changed.
Ed
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to
post your code.