Hi, I'm trying to manage a list of strings at the application level.
The list is to be created/updated/deleted by a command passed on any open drawing. The list is transient, doesn't survive the closing of AutoCAD.
I must have only one copy of this list for all documents, NOT one list per document, as described in http://through-the-interface.typepad.com/through_the_interface/2006/10/perdocument_dat_2.html
Thanks
Solved! Go to Solution.
Solved by norman.yuan. Go to Solution.
Maybe keyword static can help you?
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
One of my blog articles might be a bit of help:
http://drive-cad-with-code.blogspot.com/2010/09/command-method-static-or-not-static.html
Norman Yuan