;; | --------------------------------------------------------------------------- ;; | BL_ReadAttr ;; | --------------------------------------------------------------------------- ;; | Function : Returns the value of the attribute of a given tag ;; | Argument : 'ename' - entity name of the block ;; | 'tag' - tag value to search for ;; | Returns : The attribute value , if it exists otherwise nil is ;; | returned ;; | Updated : November 13, 1998 ;; | e-mail : rakesh.rao@4d-technologies.com ;; | Web : www.4d-technologies.com ;; | --------------------------------------------------------------------------- (defun BL_ReadAttr( ename tag ) (setq ename (BL_FindAttr ename tag)) (if ename (LI_item 1 (entget ename)) nil ) )