TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: fools on August 05, 2007, 09:05:11 PM
-
(vlax-ldata-put "mydict" "mykey" "test")
Use below codes,I can find the "dict" and "key" ,but where is the value?
(vla-item (vla-item (vla-get-Dictionaries (vla-get-Activedocument(vlax-get-acad-object))) "mydict") "mykey")
-
AFAIK, ldata is only accessible with lisp, which is one reason many people have preached to not use it.
-
The insidious thing about ldata is that it's platform (LISP) and version centric, at
least early incarnations (cough, r14) which caused much grief when folks went to
use the data in newer versions of AutoCAD because it was inaccessible. Pure evil.
Best strategy is to use the standard data containers: xdata, xrecords, dictionaries
and xdictionaries ...
:)
-
+1