Why not use ssget?
I was trying CAB....but not sure about how..
Thanks Kerry....
but guys......seriously....your to hot for me...
i'm lost when you r using VLAX VLR and other stuff like that..
i'm trying to lurn...but time missing..
So now....
this is my problem..
When using this code more than 3 times...
(setvar "attreq" 0)
(setq CBF (strcat "1" "=" "c:\\1.dwg"))
(vl-cmdf "_.-insert" CBF pause "1" "1" pause)
(if (ssget "X" '((0 . "INSERT") (66 . 1)))
(command "_.attsync" "_N" "1.dwg" ))
(command "_.explode" (entlast))
(setvar "attreq" 1)
i receive this ended message.
and AutoCAD close.
WHY !?
What i'm doing wrong ?
(note: the block is a simple block containing a simple attribute)