Hi,
While you are using object reactors, you can store datas in the reactor data too.
About xdatas and ldatas, I read sometimes ldatas have a very bad reputation, but I keep on using them beacause it's much more easy and concise.
AFAIK their bad reputation is due to 2 things :
- They don't support AutoCAD release upgrades. By my side, I never had this kind of problem. Perhaps it was a problem with the first Visual LISP releases (2000 to 2002) which was quite instable.
- The other thing is that ldatas can only be read by LISP (xdatas, xrecords, dictionaries are accessible with every language). So for using with Visual LISP reactors, I do use ldatas instead of xdatas or standard dictionaries, as
here where some datas (the rectangle coordinates) are stored in the object reactor data and some others (all rectangle handles) are strored in a document ldata.