AutoCAD 2010/2011/2012 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Lisp routine fails in AutoCAD 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Lisp routine fails in AutoCAD 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
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
I would guess you just have not set the variables ATTDIA (>>>details<<<) and ATTREQ (>>>details<<<) to the same values as you had them set in your AutoCAD 2011. Verify them and set them accordingly.
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: Lisp routine fails in AutoCAD 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Best Regards
Re: Lisp routine fails in AutoCAD 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
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 -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: Lisp routine fails in AutoCAD 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi alangorman,
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.

Albert Rius
Support Specialist
Product Support
Autodesk, Inc.
Re: Lisp routine fails in AutoCAD 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
take a look at initdia...
used in LISP as
(initdia)
(command "whatever")
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
Re: Lisp routine fails in AutoCAD 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks, installed service pack 1 and all work well.
