• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

extended data

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
I have to enter data n. 9 on the list of extended data but I am completely confused with the exact definition of the code :
Code:
 (defun c:preparastake (/ fc1 object list string n entita text txt1 txt2 lungh thedata newlist namepoint quoteslm namex fp3 fp4 pospar2 fp2 coordsgeogr)

(Guidelines)

(Setvar "osmode" 16384)

(seq object "group")
(regapp object)
(setq string (ssget "_x"(0 . "text,mtext")(1 . "*")))))

(setq n (sslength stringa)
(setq number n)

(setq fc1 nil)
(setq fc1 (findfile "c:\\\\autocadsupport\\\\picchettamento\\\fileperstake.dat"))

;
;; (setq fp2 (open "c:\\\\\autocadsupport\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
);

(repeat n; (setq n (sslength stringa))

; (setq coordsetef989 (read-line fp2))

(setq entityta (ssname stringa (setq n (1-n)))))
(setq xlist (assoc -3 entities))
(setq txtdata (car))

(setq nomex (cdr)
(setq type of point (nth 2 txtdata)))
(setq share (cdr (nth 3 txtdata))))
(setq ecef (nth 4 txtdata)))
(setq gaussboaga (cdr 5 txtdata)))
(setq controllerstz (nth 6 txtdata)))
(setq controllerpt (nth 7 txtdata)))
(setq coordsgeogr (nth 8 txtdata)))
(cdr)

(setq oldlist (entget entita))
(setq thedata (list -3 (cons 1000 nomex) (cons 1000 point type) (cons 1000 quota) (cons 1000 ecef) (cons 1000 gaussboaga) (cons 1000 controllerstz) (cons 1000 controlpt) (cons 1000 coordsgeogr) (cons 1000 coordsetef989))

(setq newlist)
(entmod newlist)


);

;(close fp2)

);
the definition of > xlist < is evident.
Thank you.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top