Angelo2449
Guest
Hello everyone,
the following program works, surely it will not be a style lesson, but it works.
the programme provides for the selection of a text (stringa) to which the 5 data (thedata) are attached.
If I wanted to, instead of manually selecting a text, select one that was just created with the "_text" command, how should I change the program so that it works?
If someone wants to give me style lessons, it is well accepted!
Thank you.
the following program works, surely it will not be a style lesson, but it works.
Code:
(defunc c:aaaa (/ object string entity name point)
(seq object "group")
(regapp object)
(setq string (entget (entsel)) (group))))
(setq entita (cdr string))
(setq np (assoc 1 authority))
(setq point name (cdr np))
(setq xyz (assoc 10 entities))
(setq gaussboaga (strcat (rtos (cadr xyz)) "," (rtos (caddr xyz))))
(setq thedata (list -3 (cons 1000 point name) (cons 1000 "ecef") (cons 1000 gaussboaga) (cons 1000 station)))
(setq list)
(setq xlist (assoc -3 list)
(entmod list)
(princ "\n")
(princ > > > > > > > > > > > > )
(princ entita)
(princ "\n")
(princ "\n")
(princ "np > > > > > > > > > > > > > > > > > )
(princ np)
(princ "\n")
(princ "\n")
(princ > > > > > > > > > > > > > > > > > > > > > )
(princ point name)
(princ "\n")
(princ "\n")
(princ "xyz > > > > > > > > > > > > > > > > > > > > > )
(princ xyz)
(princ "\n")
(princ "\n")
(princ "gaussboaga > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > )
(princ gaussboaga)
(princ "\n")
(princ "list > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > )
(princ list)
(princ "\n")
)
If I wanted to, instead of manually selecting a text, select one that was just created with the "_text" command, how should I change the program so that it works?
If someone wants to give me style lessons, it is well accepted!
Thank you.