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:
Diana2019
Femeie
25 ani
Vaslui
cauta Barbat
28 - 80 ani
lisp2arx / Listof AutoLisp.100 / Vla-AutoLispR14-Generator of TLB Moderat de zauchan
Autor
Mesaj Pagini: 1
admin
Administrator

Din: Bucharest
Inregistrat: acum 13 ani
Postari: 516


Code:

(defun c:converttodxf ( / pathlist drawingobject)
(if (setq pathlist (dos_getfilem "Select Drawings" "c:\\" "Drawing files (*.dwg)|*.dwg|"))
(progn
(vlax-import-type-library
    :tlb-filename "C:\\Program Files\\Common Files\\Autodesk Shared\\axdb18enu.tlb"
    :methods-prefix "acdbm-"
    :properties-prefix "acdbp-"
    :constants-prefix "acdbc-")
(foreach n (mapcar '(lambda (x) (strcat (car pathlist) x)) (cdr pathlist))
(setq drawingobject (vlax-create-object "objectDBX.AxDbDocument.18" ))
(acdbm-open drawingobject n)
(vlax-invoke-method drawingobject 'DxfOut (vl-string-subst "dxf" "dwg" n))
(vlax-release-object drawingobject)
)
);p
);i
(princ))



_______________________________________


pus acum 1 an
   
Pagini: 1  

Mergi la