Filehost.ro - gazduire fisiere
lisp2arx
Visual Programming for AutoLisp Mathématiques en programmation Lisp.. doc2cpp,doc2lsp, sld2lsp, bmp2dcl, free__GifCcapture for all-CAD'platforms..
Nou pe simpatie:
andreutza43 25 ani
Femeie
25 ani
Bacau
cauta Barbat
30 - 80 ani
lisp2arxReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
lisp2arx / Listof AutoLisp.100 /

vla-AutoLispR14=Add Text Sufix TP=0 pentru Cadastru

Pagini: 1 Moderat de zauchan
#1
zauchan
Moderator
Postari: 180


Code:

(Defun C:Q0 (/ ss count tnum entlst ntxt modent)
  (setq ss (ssget '((0 . "TEXT"))))
  (if ss
    (progn (setq count 0
         tnum  (sslength ss)
       ) ;_ end of setq
       (while (< count tnum)
         (setq entlst (entget (ssname ss count))
           ntxt      (strcat "NC" (cdr (assoc 1 entlst)) "- TP=0")
           modent (subst (cons 1 ntxt) (assoc 1 entlst) entlst)
           count (1+ count)
         ) ;_ end of setq
         (entmod modent)
       )
    ) ;_ end of progn
    (prompt "\nNo entities selected to change!")
  ) ;_ end of if
  rr
)



_______________________________________
psw: cea de la wjndowsXP gigabyte..

 
   

Topicuri similare

Pagini: 1  
Mergi la