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
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
Exactly. I am looking for a Lisp equivalent of app.path - 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