;;;Inserts REVTXLR.DWG, Revision Box for Lower Right corner of sheet. (see REVS) ;;; ;;; ;;; ;;;> Author: Henry C. Francis ;;;> 425 N. Ashe St. ;;;> Southern Pines, NC 28387 ;;;> http://paracadd.com ;;;> All rights reserved. ;;; ;;;> COPYRIGHT: 6-19-96 ;;;> EDITED: 08-10-2005 ;;; (defun c:revtxt ( / revlocn) ;;; (setq ;;; atreq (getvar"attreq") ;;; atdia (getvar"attdia") ;;; ) ;;; (setvar "attreq" 0) ;;; (setvar "attdia" 0) (if dimscl nil (load "dimscl" "\nFile DIMSCL.LSP not loaded! ")) (dimscl) (if upoint nil (load "upoint" "\nFile UPOINT.LSP not loaded! ")) (if ukword nil (load "ukword" "\nFile UKWORD.LSP not loaded! ")) (if revblkt (progn (setq mpb (upoint 1 "" " Insertion point" nil nil)) (command ".insert" revblkt mpb dimsc dimsc "0") (setq rtblst (cdar(entget(entlast)))) (command ".ddatte" rtblst) );progn (progn (setq revlocn (ukword 1 "Top Bottom Cancel" "Top, Bottom or Cancel revision block text?" "Bottom")) (if(eq revlocn "Bottom") (setq revblkt "revtxlr") (if(eq revlocn "Top") (setq revblkt "revtxur") (setq revblkt nil) );if );if (if revblkt (progn (setq mpb (upoint 1 "" " Insertion point" nil nil)) (command ".insert" revblkt mpb dimsc dimsc "0") (setq rtblst (cdar(entget(entlast)))) (command ".ddatte" rtblst) );progn (princ "\nRevision block text canceled. ") );if );progn );if ;;; (setvar "attreq" atreq) ;;; (setvar "attdia" atdia) (setq revblkt nil) (princ) );defun