Lisp lệnh NHANTXT trong chủ đề “Viết lisp theo yêu cầu [phần 2]”
femigra como funciona The Met Office says the 29.9C reached at Edenfel, County Tyrone, on 8 July was the highest UK temperature of the year so far. But temperatures in Northern Ireland over the weekend are not expected to exceed 20C.
15-methyl prostaglandin f2î± Then 39-year-old U.S. Army Maj. Nidal Malik Hasan, , went on a shooting rampage at the Fort Hood military post in Killeen, Texas on Nov. 5, 2009, killing 13 people and wounding 30 in one of the worst shootings at a U.S. military base. Hasan survived a shootout with law enforcement, though four bullet wounds sustained during the firefight left him paralyzed from the waist down. A long-delayed trial — in which Hasan represented himself — ended in a death penalty sentence in August.
uprima nedir The Q10 is a successful marriage of the modern touch-screen smartphone and the iconic BlackBerry keyboard. The interface takes time to get used to, and it doesn"t have the simple immediacy of the iPhone. But once you learn it, you can positively zip between tasks. The downside to the new BlackBerry 10 operating system is its relative dearth of third-party software. In addition, the keyboard eats up space that could be devoted to a bigger screen, leaving the Q10 with a square, 8cm screen. Nonetheless, the Q10 is likely to be attractive to the BlackBerry faithful, and it deserves serious consideration from Android and iPhone users as well.
how to use mandelay gel video If the fast food workers succeed and achieve tangible results, some believe that it will transform low-wage fast food and retail in the same way that the United Auto Workers and other unions transformed manufacturing during the 1930s-1950s.
male enhancement pills sold in stores Prof Jon Gluyas of Durham University stressed, at the British Science Festival in Newcastle, the importance of monitoring CO2 once buried, to ensure that it stays within the storage site and to chart any changes with time, and simply to ensure that the carbon capture is permanent.
where to buy xytomax Yet for some of his media peers, Banks words were not strong enough. Why else would they claim he said the Giants âquit?â Why else would they attribute a word to him that he never used? Was Francesa throwing his voice, playing ventriloquist to a Banks puppet?
muse alprostadil youtube The SEC cites in its complaint an email Tourre sent on Jan.23, 2007, to his girlfriend at the time, in which he said the"whole building is about to collapse anytime now" - a referenceto the financial markets.
price of ashwagandha The dramatic drop in gas prices is a result of decreased demand due to the end of the summer driving season, refineries" switch to cheaper winter fuel blends and lower crude oil prices, AAA Carolinas said. The current federal government shutdown also pressures prices downward, as furloughed workers aren"t commuting to jobs, resulting in even lower gas consumption. The Carolinas and the District of Columbia are both serviced by the Colonial Pipeline, which transports refined petroleum products up the East Coast.
manforce online store âLast week was last week. My focus is all on Tennessee,â Wilson said. âStill got some time to get better this week and focus on going out and just playing a great game and putting out my best performance and getting better each day in practice.â
testofuel is it safe The interior ministry said a gun battle broke out after police raided a house where suspected militants were hiding in Sidi Bouzid, 260 km (160 miles) south of the capital. Police found arms, explosives and a car bomb being prepared.
uprima efectos secundarios The Food and Drug Administration recommends a minimum internal temperature of 165 degress Fahrenheit in order to ensure that harmful bacteria is killed off. The reading should be taken from the thickest part of the flesh, not touching a bone.
zandu vigorex sf online purchase Terra Firma said it had sold Carmel Capital, of whichPhoenix is a subsidiary, to Hastings. In buying Phoenix,Hastings will also draw on money it manages on behalf of theRoyal Bank of Scotland pension fund.
testofuel for sale The espionage and mystique have raised questions among some watchers over whether the Mossad, the Israeli spy agency, was connected to a massive North Korean train explosion in 2004 â which flattened part of the surrounding city and, the Sankei Shinbum has claimed, killed several Syrian technicians.
15-methyl prostaglandin f2î± Then 39-year-old U.S. Army Maj. Nidal Malik Hasan, , went on a shooting rampage at the Fort Hood military post in Killeen, Texas on Nov. 5, 2009, killing 13 people and wounding 30 in one of the worst shootings at a U.S. military base. Hasan survived a shootout with law enforcement, though four bullet wounds sustained during the firefight left him paralyzed from the waist down. A long-delayed trial — in which Hasan represented himself — ended in a death penalty sentence in August.
uprima nedir The Q10 is a successful marriage of the modern touch-screen smartphone and the iconic BlackBerry keyboard. The interface takes time to get used to, and it doesn"t have the simple immediacy of the iPhone. But once you learn it, you can positively zip between tasks. The downside to the new BlackBerry 10 operating system is its relative dearth of third-party software. In addition, the keyboard eats up space that could be devoted to a bigger screen, leaving the Q10 with a square, 8cm screen. Nonetheless, the Q10 is likely to be attractive to the BlackBerry faithful, and it deserves serious consideration from Android and iPhone users as well.
how to use mandelay gel video If the fast food workers succeed and achieve tangible results, some believe that it will transform low-wage fast food and retail in the same way that the United Auto Workers and other unions transformed manufacturing during the 1930s-1950s.
male enhancement pills sold in stores Prof Jon Gluyas of Durham University stressed, at the British Science Festival in Newcastle, the importance of monitoring CO2 once buried, to ensure that it stays within the storage site and to chart any changes with time, and simply to ensure that the carbon capture is permanent.
where to buy xytomax Yet for some of his media peers, Banks words were not strong enough. Why else would they claim he said the Giants âquit?â Why else would they attribute a word to him that he never used? Was Francesa throwing his voice, playing ventriloquist to a Banks puppet?
muse alprostadil youtube The SEC cites in its complaint an email Tourre sent on Jan.23, 2007, to his girlfriend at the time, in which he said the"whole building is about to collapse anytime now" - a referenceto the financial markets.
price of ashwagandha The dramatic drop in gas prices is a result of decreased demand due to the end of the summer driving season, refineries" switch to cheaper winter fuel blends and lower crude oil prices, AAA Carolinas said. The current federal government shutdown also pressures prices downward, as furloughed workers aren"t commuting to jobs, resulting in even lower gas consumption. The Carolinas and the District of Columbia are both serviced by the Colonial Pipeline, which transports refined petroleum products up the East Coast.
manforce online store âLast week was last week. My focus is all on Tennessee,â Wilson said. âStill got some time to get better this week and focus on going out and just playing a great game and putting out my best performance and getting better each day in practice.â
testofuel is it safe The interior ministry said a gun battle broke out after police raided a house where suspected militants were hiding in Sidi Bouzid, 260 km (160 miles) south of the capital. Police found arms, explosives and a car bomb being prepared.
uprima efectos secundarios The Food and Drug Administration recommends a minimum internal temperature of 165 degress Fahrenheit in order to ensure that harmful bacteria is killed off. The reading should be taken from the thickest part of the flesh, not touching a bone.
zandu vigorex sf online purchase Terra Firma said it had sold Carmel Capital, of whichPhoenix is a subsidiary, to Hastings. In buying Phoenix,Hastings will also draw on money it manages on behalf of theRoyal Bank of Scotland pension fund.
testofuel for sale The espionage and mystique have raised questions among some watchers over whether the Mossad, the Israeli spy agency, was connected to a massive North Korean train explosion in 2004 â which flattened part of the surrounding city and, the Sankei Shinbum has claimed, killed several Syrian technicians.
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
- Chép mã nguồn, lưu thành tệp 106414_nhantxt.lsp.
- 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ẽ.
- Gõ lệnh NHANTXT để chạy lisp.
Mã nguồn 106414_nhantxt.lsp (trích từ bài viết gốc)
(defun c:nhantxt (/ ss1 ss2 lsn1 lsn2 lsn wid y y1 k m as h g l p pt kq num num1)
(command "undo" "be")
(alert "\n Chon cot text thu nhat")
(setq ss1 (ssget (list (cons 0 "TEXT"))))
(txt2n ss1)
(setq lsn1 lsn)
(alert "\n Chon cot text thu hai")
(setq ss2 (ssget (list (cons 0 "TEXT"))))
(txt2n ss2)
(setq lsn2 lsn
wid (getreal "\n Nhap khoang rong cot can nhap: ")
)
(foreach num lsn1
(setq y (caddr (assoc 10 (entget (car num))))
k (cadr num)
)
(foreach num1 lsn2
(setq y1 (caddr (assoc 10 (entget (car num1))))
m (cadr num1)
)
(if (= y1 y)
(progn
(setq kq (* m k)
as (entget (car num1))
h (cdr (assoc 40 as))
g (cdr (assoc 50 as))
l (cdr (assoc 8 as))
p (assoc 10 as)
pt (list (+ wid (cadr p)) y1 (cadddr p))
)
(entmake (list (cons 0 "TEXT") (cons 1 (rtos kq 2 1)) (cons 10 pt) (cons 40 h) (cons 50 g) (cons 8 l)))
)
)
)
)
(command "undo" "e")
(princ)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun txt2n (ss / n i num e el )
(setq n (sslength ss )
i 0
lsn (list)
)
(While ( (setq e (ssname ss i)
el (entget e)
num (atof (cdr (assoc 1 el)))
lsn (append lsn (list (list e num)))
i (1+ i)
)
)
lsn
)Thảo luận gốc
Lisp được chia sẻ trong chủ đề Viết lisp theo yêu cầu [phần 2]. Xem đúng bài viết #106414 để đọc hướng dẫn và trao đổi thêm.