VLX path

VLX path

Anonymous
Not applicable
255 Views
2 Replies
Message 1 of 3

VLX path

Anonymous
Not applicable
I have a VLX file that could be loaded from any location using appload or the (load ...) function. I would like to know the path of the VLX file from within the file itself. Is this possible? If so, how? The intention is that when the VLX file is running, it should look for some data files in the same directory as itself. So, I want to know where the VLX file is coming from (note: it may not or never be on the AutoCAD search path). Any help is apprciated. Regards Rakesh -- -- - Rakesh Rao [ rakesh.rao (at)4d-technologies.com ] - Four Dimension Technologies [www.4d-technologies.com] - Get GeoTools, Work smarter: www.4d-technologies.com/geotools - Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
0 Likes
256 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Hi Rakesh, In VB and VBA you can get app.path There is probably something along those lines in Lisp. -- Laurie Comerford CADApps www.cadapps.com.au "Rakesh Rao" wrote in message news:41500EA9.7060201@4d-technologies.com... > > I have a VLX file that could be loaded from any location using appload > or the (load ...) function. I would like to know the path of the VLX > file from within the file itself. Is this possible? If so, how? > > The intention is that when the VLX file is running, it should look for > some data files in the same directory as itself. So, I want to know > where the VLX file is coming from (note: it may not or never be on the > AutoCAD search path). > > Any help is apprciated. > > Regards > Rakesh > -- > -- > - Rakesh Rao [ rakesh.rao (at)4d-technologies.com ] > - Four Dimension Technologies > [www.4d-technologies.com] > - Get GeoTools, Work smarter: www.4d-technologies.com/geotools > - Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter >
0 Likes
Message 3 of 3

Anonymous
Not applicable
Exactly. I am looking for a Lisp equivalent of app.path - Rakesh Laurie Comerford wrote: > Hi Rakesh, > > In VB and VBA you can get > > app.path > > There is probably something along those lines in Lisp. > -- -- - Rakesh Rao [ rakesh.rao (at)4d-technologies.com ] - Four Dimension Technologies [www.4d-technologies.com] - Get GeoTools, Work smarter: www.4d-technologies.com/geotools - Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
0 Likes