Author Topic: List Folder  (Read 1069 times)

0 Members and 1 Guest are viewing this topic.

amc.dicsac

  • Newt
  • Posts: 109
  • Autocad 2008
List Folder
« on: May 27, 2016, 01:38:01 PM »
Hello, I need help, if there is a lisp that lists folders on a particular route indicated mendiante one setq, for example:

(Setq "c: / Data /")

---Data
- Folder1
- Folder2
- Folder3

Thank you.
<a href="http:/http://axprogramlisp.blogspot.pe" class="bbc_link" target="_blank">By Alexander Castro</a>

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: List Folder
« Reply #1 on: May 27, 2016, 01:45:39 PM »
Check the Visual LISP developers guide for the vl-directory-files function and the -1 argument.

http://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-AutoLISP/files/GUID-C28C0CB0-FBBE-4AA8-BAC4-2FF222772514-htm.html

<via iphone>
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

amc.dicsac

  • Newt
  • Posts: 109
  • Autocad 2008
Re: List Folder
« Reply #2 on: May 27, 2016, 02:37:52 PM »
Thanks was just what I was looking for  :wink: :wink: :wink:
<a href="http:/http://axprogramlisp.blogspot.pe" class="bbc_link" target="_blank">By Alexander Castro</a>