;; | ---------------------------------------------------------------------------- ;; | MI_GetDisplayLineWeight ;; | ---------------------------------------------------------------------------- ;; | Function : Get the display line-weight of an object ;; | Arguments: 'ename' - Object name ;; | Returns : 'LWT' - An integer which is the lineweight setting of the object ;; | The lineweight setting can be either by entioty or by ;; | layer. ;; | ;; | Comments : The display lineweight is either the actual assigned lineweight ;; | to the object or the BYLAYER lineweight if it has not been ;; | actually assigned. ;; | Updated : July 30, 2004 ;; | e-mail : rakesh.rao@4d-technologies.com ;; | Web : www.4d-technologies.com ;; | ---------------------------------------------------------------------------- (defun MI_GetDisplayLineWeight( ename / entl LWT la ) (setq entl (entget ename) LWT (LI_item 370 entl) ) (if (not LWT) (setq la (LI_item 8 entl) LWT (LI_item 370 (entget (tblobjname "layer" la))) )) LWT )