Jump to content

Lisp lệnh KK trong chủ đề “[ yêu cầu ] Lisp up nội dung từ Excel vào Cad”

digital performer 5 upgrade HTC, the first maker of phones using software from GoogleInc., was a contract manufacturer before it began promoting itsown brand in 2006. The company had a short-lived reign at thetop of the U.S. market in the third quarter of 2011, when itaccounted for 24 percent of smartphone shipments, according toresearcher Canalys.
ashwagandha q dosage The amount of exertion of a typical sexual activity is the equivalent of climbing two flights of stairs or a very brisk walk, she added. "So we"re not talking about ... running a marathon here. Typically, this is a very safe thing to do and important thing to do for recovery.
viarex power up She joked about someone in her position trying to ensure her “new boss” would “like me immediately” and recommended meeting “office people outside the office” as a way to integrate with new colleagues.
erectafil 60 The law was adopted in 2010 but two of its main pillars, the health exchanges and the expansion of Medicaid, take effect in 2014. Household names like UnitedHealth Group Inc, Aetna Inc, WellPoint Inc and Humana Inc will sell plans on at least some exchanges. Newcomers such as Medicaid specialist Molina Healthcare Inc will also play a role.
febrex 500 mg Emerging-market stocks, bonds and currencies took major hits earlier this year after Fed officials indicated they could soon begin withdrawing the bank’s extraordinary stimulus. The promise of rising returns in the U.S. amid waning growth prospects and potential over-investment in emerging markets prompted investors to pull their capital out in droves. Markets have since calmed as the Fed tempered expectations for an earlier exit.
semenax 120 "I want to just make very clear right now: I do not think it"s appropriate to boycott the Olympics," the president said, adding, "nobody"s more offended than me by some of the anti-gay and -lesbian legislation."
male enhancement sinrex "As we continue to eliminate human beings from the execution of security trading," said Stephen Massocca, managing director of Wedbush Equity Management LLC in San Francisco, "these events are going to take place, given the level of automation."
disadvantages of manforce tablet The justice department had said that Garzon would likely testify before a judge Saturday, but said in a statement it intended now to wait until the 52-year-old is able to appear in court rather than having a judge come to his hospital bedside.
is zyrexin over the counter Britain"s leading Muslim organisation warned tonight that a judge"s landmark ruling that women should not give evidence in court whilst wearing the veil threatened to undermine the nation"s long-standing tradition of religious tolerance.

Cách dùng

  1. Tải tệp 229616_kk.lsp về máy.
  2. Trong AutoCAD gõ lệnh APPLOAD, chọn tệp vừa tải rồi bấm Load. Cũng có thể kéo thả tệp .lsp vào cửa sổ bản vẽ.
  3. Gõ lệnh KK để chạy lisp.

Mã nguồn 229616_kk.lsp

;; free lisp from cadviet.com
;;; this lisp was downloaded from https://www.cadviet.com/forum/topic/69623-y%C3%AAu-c%E1%BA%A7u-lisp-up-n%E1%BB%99i-dung-t%E1%BB%AB-excel-v%C3%A0o-cad/
;=====LISP CONVERT ATTRIBUTE TO TEXT==========
;=========KANGKUNG 26/03/2013=================
(defun C:KK()
  (IF (NOT PATH)
    (SETQ PATH (getvar "dwgprefix")))
  (setq taphop(ssget '((0 . "INSERT")))	index 0 tenfileout(getfiled "Output File" PATH "txt" 11))
  (SETQ PATH tenfileout tenfile(open tenfileout "W"))
  (write-line "No.	Easting	Northing	STTO	CCTC	D.TICH	K.LUONG" tenfile)
  (setq i 0)
  (while (< index (sslength taphop))
    (setq enlist (entget (ssname taphop index))i(1+ i) STT(rtos i 2 0)
	  insert_point(cdr(assoc 10 enlist))
	  CHUOI (strcat STT "\t" (rtos (car insert_point) 2 3) "\t" (rtos (cadr insert_point) 2 3))
	  EN2(ENTNEXT(ssname taphop index))
	  ENLIST2(ENTGET EN2))
    (while (/= (cdr(assoc 0 enlist2)) "SEQEND")
      (SETQ VALUE(cdr(assoc 1 enlist2))
	    TAG(cdr(assoc 2 enlist2))
	    CHUOI(STRCAT CHUOI "\t" VALUE)
	    en2(entnext en2)
	    enlist2(entget en2))
      )
    (write-line CHUOI tenfile)
    (setq index (+ index 1))
    )
  (alert (strcat (rtos i 2 0) " objects converted!"))
  (princ)
  (close tenfile)
  (COMMAND "NOTEPAD" tenfileout)
)
(princ "\n                Written By KangKung - 26/03/2013\n")
(princ "\n                  Nhap KK de chay chuong trinh\n")

Thảo luận gốc

Lisp được chia sẻ trong chủ đề [ yêu cầu ] Lisp up nội dung từ Excel vào Cad. Xem đúng bài viết #229616 để đọc hướng dẫn và trao đổi thêm.

Về Thư viện AutoLisp (trang 122)