![]() (setq myfiles (vl-directory-files mydir "*. (setq mydir "C:\\AutoCAD LISPS\\") Location of LSP files. List all the lisp routines in all the *.lsp files in a directory Lisp routine to add value x to existing attribute values of a block. Var.lsp Creates a text file that records all the settings in the current drawing. Hope this makes sense and I think it is possible, I just want a little bit more to show me how to get this. These are just a few of the top lisp routines you should check out in the library HFACE.lsp Create 3dfaces to hide entities around text, Enedit.lsp Create a selection set quickly and easily, then take advantage of its powerful editing routines. or something like that.Īnd last question, how do I get the items out of the list again? I might want to see what PDFPlot item 2 is (ClientPDF). MyLISPS list (PLOT (A3Plot, A4Plot), PDFPlot (MyPDF, ClientPDF)). So I might have files, 'PLOT.LSP' and 'PDFPLOT.LSP' How would I create a 'nested list' (I think that's what I am asking for) from the results? (in the code below, in LISPLIST to use 'myfilename' and 'x' to create the list). Just one more quick question if that's OK? I used your 'GetSyntax' code and added a bit to scroll through the files to return the LISP routines.
0 Comments
Leave a Reply. |