I am using a fairly old Lisp to generate section arrows, started using this in 2000 and up until 2011. Since we have installed 2012 the routine does not work correctly, after inserting block with attributes instead of bringing up dialogue box it inserts next line of string in to the dialogue box. I have attached lisp routine and blocks can any one help.
Solved! Go to Solution.
I have not looked to your lisp and sample, but just for this message:
>> after inserting block with attributes instead of bringing up dialogue box
- alfred -
The command attdia is set t 1, switch on, but afetr insertng block DS004, this contains the attributes then rather than bring up dialogue box as previously it inserts INSERT" "ds012 for prompted input automatically, this being the next block required to be inserted.
I can get over all this by removing attributes and using text in block DS004 but I was just hoping there may be a fix.
so your LISP doesn't seem to send/fill the attributes. In this case try to set ATTREQ to 0 before your LISP starts.
HTH, - alfred -
Please be sure that you have installed the SP1 for AutoCAD 2012. It works on my machine with the SP installed.
I hope this helps.
take a look at initdia...
used in LISP as
to force a dialog box. It works with ATTDEF, ATTEXT, BHATCH, BLOCK, COLOR, IMAGE, IMAGEADJUST, INSERT, LAYER, LINETYPE, MTEXT, PLOT, RENAME, STYLE, TOOLBAR, and VIEW