Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
List Folder
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: List Folder (Read 1069 times)
0 Members and 1 Guest are viewing this topic.
amc.dicsac
Newt
Posts: 109
Autocad 2008
WWW
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.
Logged
<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.
WWW
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>
Logged
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com
•
http://cadanalyst.slack.com
•
http://linkedin.com/in/cadanalyst
amc.dicsac
Newt
Posts: 109
Autocad 2008
WWW
Re: List Folder
«
Reply #2 on:
May 27, 2016, 02:37:52 PM »
Thanks was just what I was looking for
Logged
<a href="http:/http://axprogramlisp.blogspot.pe" class="bbc_link" target="_blank">By Alexander Castro</a>
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
List Folder