I want to be able to add a leader or tage that will invoke text/description from a block. For instance, if I have a block that shows a 6x6 post with a dashed rec footing, I want to be able to insert the block, do a leader and invoke a custom description embedded in a block, something like: "P.T. 6x6 POST W/ CONC. FOOTING"
Is this possible?
Muchos Thanks!
RT
Yes. It is possible. Are you expecting a completed program or help programming it yourself?
The block description is accessible to lisp or vba programs as the comments property. It is a property of the block definition. This should get you started.
(defun getdesc (bname ) (if (tblsearch "block" bname) (vla-get-comments (vla-item (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object) )) bname ))))
If you use AutoCAD Architecture, put your blocks into mvblocks and then use the AEC tagging system. ACA can really tag anything but it works best if the blocks you place are mvblocks.