Print Page | Close Window

AutoCAD LISP routine

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=5327
Printed Date: 22.Apr.2026 at 16:03


Topic: AutoCAD LISP routine
Posted By: wyrickmanton
Subject: AutoCAD LISP routine
Date Posted: 17.Feb.2011 at 21:50

I am running AutoCAD 2010 and I am looking for a LISP routine that allows you to label floor plans with room dimensions.  The last place I worked at had one and when you initiated it, it would automatically switch to the proper layer and font and as you to pick the left wall, then right wall, then front wall, then back wall of a particular room that you wanted to label and it would generate the inside room dimension in the format (11'-0" x 12'-0" - rounding to the nearest inch) so that you could place it on the floor plan.  This would allow you to label the plan quickly and accurately and use them for marketing purposes.  Does anyone have a LISP routine like this or know where I can find one.  I appreciate any help you can provide.




Replies:
Posted By: John Connor
Date Posted: 17.Feb.2011 at 23:29
The routine you describe sounds like something that was custom made.  I am surprised you didn't keep a copy of it for future use.
I know of one or two lisp routines that will put a dimension above a line but since I do not use them myself I cannot vouch for how well they work.


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: CarlB
Date Posted: 18.Feb.2011 at 00:06

Similar routines I've heard about are to label room area (or lot area), in square units.

Here's a pdf that gives code for a dimension label routine.  Appears to use a block and attributes.
www.widom-assoc.com/AU-GD12-2.pdf
 
I'd think you should only have to pick front and side walls, unless rooms aren't rectangular so you need to average all 4 walls.



Print Page | Close Window