Vlisp Projects
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Vlisp Projects

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
dean_bourke
Guest





Posted: Thu Apr 07, 2005 9:09 am    Post subject: Vlisp Projects Reply with quote

Is there a vlisp/lisp function that returns a list of source (lsp) files from a project file?

Dean

Back to top
Luis Esquivel
Guest





Posted: Thu Apr 07, 2005 8:26 pm    Post subject: Re: Vlisp Projects Reply with quote

Dean,

Quote:
Is there a vlisp/lisp function that returns a list of source (lsp) files
from a project file?



This is something I also want it to have, but as far I know there is no
built-in function for this.

Type in the APROPOS the keyword: VLISP-

You will get the available functions [not all acctually work]

But for example to get the path of a PRJ file you can use:

(vlisp-find-project "my_project")

To get a list of loaded projects:

(vlisp-list-loaded-projects)

The other functions have not play that much...

I assuming one would have to read the PRV file, get the PRJ projects and
read each of them just after the line of :OWN-LIST to get the list of lisp
files.... I don't know on this one.

HTH
Back to top
Shane-W
Guest





Posted: Thu Apr 07, 2005 8:34 pm    Post subject: Re: Vlisp Projects Reply with quote

(vl-directory-files [directory pattern directories])

EX
(vl-directory-files "c:/data/source/" "*.lsp" 1)
would return al .lsp files in that directory

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB