Hello all,
Does anyone know how to iterate through the system variables?
I know you can use GetVariable and SetVariable but I want to build an array of the variables for the current drawing.
Thanks
Hello all,
Does anyone know how to iterate through the system variables?
I know you can use GetVariable and SetVariable but I want to build an array of the variables for the current drawing.
Thanks
There is a file called acadinfo.lsp in the acad.exe folder. It has several functions you can use. One will output all the vars to an scr file so you can use it to reset vars to the state they were when the script was generated. You can also examine the code to see how they did it.
C:> ED WORKING.... ▒
As I said before, "you can examine the code to see how they did it". The assumption was that you would then follow the same logic in vba.
C:> ED WORKING.... ▒