delkovebay Posted January 6, 2016 Share Posted January 6, 2016 Hello everyone! I have some issue: I've installed autocad at C:\Autodesk\. Also, there is some lisp-routine at C:\Autodesk\scripts\test.lsp I wrote this (load "C:\\Autodesk\\scirpts\\test.lsp") at acad2016.lsp to autoload. Then for example I want to move CAD at the D:\Cad. And my autoload won't load. How to use "relative path"? I need something like: (load "[current folder]\test.lsp") Quote Link to comment Share on other sites More sharing options...
rlx Posted January 6, 2016 Share Posted January 6, 2016 Hello everyone!I have some issue: I've installed autocad at C:\Autodesk\. Also, there is some lisp-routine at C:\Autodesk\scripts\test.lsp I wrote this (load "C:\\Autodesk\\scirpts\\test.lsp") at acad2016.lsp to autoload. Then for example I want to move CAD at the D:\Cad. And my autoload won't load. How to use "relative path"? I need something like: (load "[current folder]\test.lsp") Hi Delkovebay Don't include a path in your lisp apps. Use (findfile "test.lsp") and make sure you add your lisp folder via options dialog to your support folders. gr. Rlx Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 6, 2016 Share Posted January 6, 2016 http://www.theswamp.org/index.php?topic=50729.0 Quote Link to comment Share on other sites More sharing options...
rlx Posted January 6, 2016 Share Posted January 6, 2016 http://www.theswamp.org/index.php?topic=50729.0 Guess he didn't like your previous answer Lee ;-) Gr. Rlx Quote Link to comment Share on other sites More sharing options...
delkovebay Posted January 6, 2016 Author Share Posted January 6, 2016 Many thanks(!) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.