Jump to content

Lisp lệnh SST trong chủ đề “Viết Lisp theo yêu cầu”

male extra affiliate Township officials approved French & Parrello and Remington & Vernick to move forward with work May 29, while Alaimo"s proposal was accepted May 31. Acropolis announced the survey program April 16.
poxet 30 Voted into the Hall of Fame in 1968, Donovan was an outstanding lineman and an even better storyteller. Long after his career was over, Donovan made a living on the talk-show circuit, weaving yarns about the NFL’s good old days — as he put it, “When men were, well, men.” Donovan was much like Bob Uecker, who also became popular on late-night talk shows through his stories about sports.
use enthusia 100 mg While the continuous drubbing of Maggie is risible, credit to Olivia Munn as Sloan should be given where it"s due. She"s got a knack for delivering Sorkin"s style of dialogue and she continually rises above the increasingly weaker representations of women in the show. When she delivers one verbal smackdown this week, it"s immediately punctuated by Don falling off his office chair, for the second time in one scene. 
progenis price "The allegations against me are baseless and untrue, and I will fight vigorously to defend my reputation in the court of law as well as the court of public opinion. I believe them to be fabrications of a desperate individual in order to gain a legal advantage in our separation."
bon de reduction maxviril A U.S. official who asked not to be named said no U.S. personnel were injured or killed in the attack. The Associated Press reported the raid was carried out by U.S. Navy SEAL commandos in the town of Barawe, but it was not successful in capturing or killing the target of the raid.
enzyte does it work National Police Chief Juan Carlos Bonilla said investigators found a bank book and a credit card with Anibal Barrow"s name and clothing and a belt that resemble what he was wearing on June 24, when armed men kidnapped him while he was driving in his truck. The items were buried on the riverbank of the Siboney lagoon, near where the body was found buried, about 12 miles (20 kilometers) south of San Pedro Sula.
satibo capsule italia Garrard’s value for the next three months will have very little to do with how much he actually has left in his 35-year-old tank and everything to do with following the organization’s prime directive: Foster the optimum environment for Smith’s development.
is viswiss a good product Heinz Kerry, a philanthropist and heiress, was rushed to a local hospital on July 7 after a seizure at the couple"s vacation home on the Massachusetts island of Nantucket and was then taken to Boston"s Massachusetts General Hospital.
vicerex composition "The regulator should be encouraging such private sector investment in infrastructure and new services like 4G, which will benefit consumers, businesses and the wider British economy for many years to come."
penomet customer service Continued confrontations are radicalizing experiences. Not ready to be martyrs, brothers will want to fight back. Street fighting is an unequal contest. The next phase will be terrorist attacks. The Brotherhood lacks guns and probably wants to avoid living down to a terrorist label. And once the violence starts leaders may not be able to rein in a more violent fringe.

Tệp .lsp gốc không còn trên máy chủ. Hãy chép mã nguồn bên dưới (lấy từ bài viết gốc) vào một tệp văn bản, lưu với đuôi .lsp.

Cách dùng

  1. Chép mã nguồn, lưu thành tệp 71076_sst.lsp.
  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 SST để chạy lisp.

Mã nguồn 71076_sst.lsp (trích từ bài viết gốc)

(defun C:sst ()
(setvar "cmdecho" 0)
(command "undo" "Begin" "")

(if (not i) (setq i 1))
(if (not a) (setq a 1))
(setq	i1 (getreal (strcat"\nSTT Ðâu Tiên < " (rtos i 2 0) " >: "))
a1 (getreal (strcat"\nSo gia < " (rtos a 2 0) " >: " 	)))
(if i1 (setq i i1))
(if a1 (setq a a1))
(while 
(progn
(setq res (entsel (strcat "\nChon text de ghi STT thu " (rtos i 2 0) "")))
(setq res (entget (car res)))
(setq res (subst (cons 1 (rtos i 2 0)) (assoc 1 res) res))
(entmod res)
(setq i (+ i a))
);progn
);while
(command "undo" "end" "")
(setvar "cmdecho" 1)
);end

Thảo luận gốc

Lisp được chia sẻ trong chủ đề Viết Lisp theo yêu cầu. Xem đúng bài viết #71076 để đọc hướng dẫn và trao đổi thêm.

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