lisp2arx
Visual Programming for AutoLisp
Mathématiques en programmation Lisp..
doc2cpp,doc2lsp, sld2lsp, bmp2dcl,
free__GifCcapture for all-CAD'platforms..
|
Lista Forumurilor Pe Tematici
|
lisp2arx | Reguli | Inregistrare | Login
POZE LISP2ARX
Nu sunteti logat.
|
Nou pe simpatie: draghici_elena2000
| Femeie 24 ani Dambovita cauta Barbat 24 - 62 ani |
|
admin
Administrator
Din: Bucharest
Inregistrat: acum 13 ani
Postari: 517
|
|
;; listpol by Gille Chanteau ; ;;; Returns the vertices list of any type of polyline (WCS coordinates) ; ;;; ; ;;; Argument ; ;;; en, a polyline (ename or vla-object)
Code:
(defun listpol (en / i p l)
(setq i (vlax-curve-getEndParam en) i (if (vlax-curve-IsClosed en) i (1+ i)))
(while (setq p (vlax-curve-getPointAtParam en (setq i (1- i))))
(setq l (cons (trans p 0 1 ) l))
)
) |
_______________________________________
|
|
pus acum 4 ani |
|