home *** CD-ROM | disk | FTP | other *** search
- (defun lt4 (/ ang file ef in0 in1)
- (if (eq px "L") (setq ang 0))
- (if (eq px "R") (setq ang 180))
- (if (eq px "D") (setq ang 90))
- (if (eq px "U") (setq ang (- 90)))
- (setq in1 (list (+ (car jd) (abs (- pt1 ymin))) (cadr jd) (caddr jd)))
- (command "dview" "" "CA" 0 ang "")
- (command "UCS" "View")
- (setq file (strcat ltlx "1") ef 1)
- (while (/= (tblsearch "BLOCK" file) nil)
- (setq ef (1+ ef) file (strcat ltlx (itoa ef)))
- )
- (command "layer" "m" "sstair" "")
- (setq in0 (trans in 0 1))
- (command "block" file in0 sn "")
- (command "OOPS")
- (command "UCS" "P")
- (command "PLAN" "World")
- (command "INSERT" file in1 "" "" 0)
- ; (setq se (entlast)) (ssadd se ss)
- )
-
-