![]() functions DO exist one way or another in Mac versions of AutoCAD, though they may be renamed. ![]() These functions were prefixed when added to the existing vanilla AutoLISP functions, but are still considered native as far as the integrated compiler is concerned. Some functions were added simply to add, well, functionality to the language for the programmer. Within the Visual LISP category, there is another distinction. Standard AutoLISP functions DO exist one way or another in Mac versions of AutoCAD, though they may be renamed. There are standard "AutoLISP" functions that have existed since AutoCAD R14, and there are "Visual LISP" functions that were introduced and integrated since AutoCAD 2000. (mapcar 'setvar '("osmode" "cmdecho") sys_var)Ī distinction should be made here since I was recently researching the same thing. (if (zerop (cdr (assoc 40 (tblsearch "STYLE" (getvar "TEXTSTYLE"))))) (= (cdr(assoc 0 (entget ent))) "LWPOLYLINE") (setq ent (car (entsel "\nChoose a polyline: "))) (if (null (setq n (getint)))(setq n *NPoint*)) (if (not (numberp *NPoint*))(setq *NPoint* 1)) (setq sys_var (mapcar 'getvar '("osmode" "cmdecho"))) How to make numbers of corner points of polyline? (defun C:Nvx (/ ent n lst_point sys_var htxt)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |