Jump to content

Lisp lệnh NBPL trong chủ đề “Thêm node vào đường Pline”

para que sirve prelox blue Just so the rest of the world understands; Not everyone who lives in the South is a stupid jackass. For some unkown reason these people keep getting elected as Judges down here. Not that the Georgia State Legislature doesn’t have an inordinate amount of Wackos too. My guess is that our Politicians have, over the years, embarassed us to the point that any normally bright resident would feel ashamed to be assocated with them and therefore none of us will have a thing to do with Public Office. M. Lewis Macon, Georgia, USA
can i take manforce daily The Daily News has some of the most memorable photos in sports history. From legendary boxers and iconic tennis players to golfing greats and fabled Olympians, the Daily News has the photos you want of the once-in-a-lifetime sports moments. Find yours today and relive history.
penon cream price In a test, 29 ballerinas and 20 female rowers of a similar age and fitness level were spun around in rotating chairs in a dark room. The women were asked to turn a wheel on their chairs in rhythm with the spinning sensation they experienced after the chairs were brought to a halt.
duratia dadha pharma Over the years, the car has proved reliable and dependable. This month, Gordon clocked the car’s 3 millionth mile and was awarded the world record for the greatest ever recorded mileage by a single owner of a vehicle by the Guinness Book of World Records. He claimed the same award back in 2002 when the car’s odometer hit 2 million miles.
trifecta andro kit Darvish struggled with his command from the start, bouncing balls in front of the plate and piling up his pitch count. By the second, he had already matched a season high with four walks and had thrown 42 pitches.
order kgr 100 potenzmittel The law firm Weil, Gotshal & Manges, which serves as lead counsel for the Lehman estate, has earned over $484 million, with lawyers billing as much as $1000 an hour. The firm said in a court filing last year that its staff members devoted more than 747,000 hours to the case between September 2008 and its emergence from Chapter 11 protection in March of last year.
tadaga power Cruz seemed to have the catch, but as he and corner Brandon Boykin tumbled to the ground, Boykin stripped the ball away. The play was initially ruled an interception, and a booth review confirmed that call.
world abs tongkat ali "The Mexican navy and its ground forces still have close ties to the U.S.," Grayson said. "PRI is not going to say "We want to thank the U.S. government." And the U.S. government is willing to keep a low profile."
libimax vs libigrow Ivory had every reason to question why he had only one carry in the final 14½ minutes of the Jets’ 13-10 loss to the Patriots last week. Mornhinweg dialed up 17 plays in that span, including five rushes, without turning to him.
cos 㸠il filagra Gary: Now it's a case of be awesome or be gone. You don't get the time to find your feet. I mean, we had so many terrible gigs and it was before camera-phones, so none of them were ever recorded. A band growing up now - even if they're not successful at the beginning, at some point those video things are going to come around like a bad smell.

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 80351_nbpl.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 NBPL để chạy lisp.

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

(defun c:NBPL()
(vl-load-com)
(setq oldos (getvar "osmode"))
(setvar "osmode" 0)
(setq ss (car (entsel "\n Pick chon doi tuong : ")))
(Hli ss)
(setq po (getpoint "\n Chon diem cat : "))
;;;(setq ddau (vlax-curve-getstartPoint ss  ))
;;;(setq dcuoi (vlax-curve-getEndPoint ss ))
(Command "break" ss po "@")
(setq ent (entlast))
(Command "Pedit" ss "j" ent "" "")
(Hli ss)
(while po (setq po (getpoint "\n Chon diem cat tiep theo : "))
;;;(Command "select" ddau dcuoi "")
;;;(setq ss (ssget "P"))
(Command "break" ss po "@")
(setq ent (entlast))
(Command "Pedit" ss "j" ent "" "")
;;;(sssetfirst ss ss)
(Hli ss)
)
(setvar "osmode" oldos)
(princ)
)
;
(defun HLI(ent)
(sssetfirst (ssadd ent (ssadd)) (ssadd ent (ssadd)))
)

Thảo luận gốc

Lisp được chia sẻ trong chủ đề Thêm node vào đường Pline. Xem đúng bài viết #80351 để đọc hướng dẫn và trao đổi thêm.

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