Display full version of the post: AutoCAD LISP routine

wyrickmanton
17.02.2011, 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.

John Connor
17.02.2011, 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.

CarlB
18.02.2011, 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.