- (setq my_dict (entmakex '((0 . "DICTIONARY")((0 . AcDbDictionary))))(setq my_dict (dictadd (namedobjdict) "My Dictionary" my_dict))(setq my_dict (cdr (assoc 5 (entget my_dict))))
In the last line I assoc entity handle with the var
to use with vlax-ldata-*** functions.
So now I do next;
(vlax-ldata-put my_dict "My List" list)
(my lists are lists of entities obtained with (entget (car (entsel))) lots of them)
And now my lists are associated with that entity handle so I can
exit acad, and find my data when I start it again.
My lists are retieved with dictsearch and that entity handle.
Is this way ok? This is my first question.
(it works fine, but I want to be sure, you know better for sure)
My other question.
If the first question answer is yes only.
Is it possible to use that saved data from another
drawing?
Thats it, thank you for reading and helping and everithing.
My english sucks, it is hard to me to explane, and I can
imagine what is like to understand this for you
Greetings !
p.s. I have used the search option
but I couldnt find nothing, I am very sorry.