SLW210 Posted December 6, 2023 Posted December 6, 2023 It seems acet-ui-pickdir does not work in AutoCAD LT 2024, are there any alternatives that might work? I am still not sure what the exact limits are for LISP in LT, is there a link to some documentation? Quote
mhupp Posted December 6, 2023 Posted December 6, 2023 (edited) Says its a valid function. Might need to follow this format to work properly. (acet-ui-pickdir [message [startDir [caption]]]) -Edit Never Mind https://help.autodesk.com/view/ACDLT/2024/ENU/?guid=GUID-16E9081D-1447-4D37-8636-E7D39F3127EA Quote Supported Platforms: AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on Mac OS and WebSupported Platforms: AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on Mac OS and Web Edited December 6, 2023 by mhupp 1 Quote
BIGAL Posted December 7, 2023 Posted December 7, 2023 (edited) Using getfiled maybe. (setq filename (getfiled "Select the File " "" "dwg" 16)) You can remove dwg name from filename so get path to that directory. There is a post some where about what does not work, I think it was over at forums autodesk. getapplication think Excel lisp linking No load MNL As mentioned Acet functions This got me to the LT 2024 help page and developer help. https://help.autodesk.com/view/ACDLT/2024/ENU/?guid=GUID-86C522B8-9D44-43F5-B1E7-FC4BECAEBDCE Found this comment by Lee-mac Unfortunately many of my programs will not be compatible with AutoCAD LT, as the LISP API in LT does not support interfacing with ActiveX objects outside of the AutoCAD Object Model. Edited December 7, 2023 by BIGAL 1 Quote
SLW210 Posted December 7, 2023 Author Posted December 7, 2023 I see if I can figure out something, it's not a top priority, would just be convenient for the Engineers with LT to do some of their own AutoCAD stuff. I'll just have to do it on FULL AutoCAD for them until I figure something out. Thanks for the links and information! Quote
SLW210 Posted December 7, 2023 Author Posted December 7, 2023 20 hours ago, mhupp said: Says its a valid function. Might need to follow this format to work properly. (acet-ui-pickdir [message [startDir [caption]]]) -Edit Never Mind https://help.autodesk.com/view/ACDLT/2024/ENU/?guid=GUID-16E9081D-1447-4D37-8636-E7D39F3127EA I found that in AutoCAD 2024 Help file as well, just scratched my head, why any of the stuff that didn't work was in the help file I have no clue. Quote
rlx Posted December 7, 2023 Posted December 7, 2023 I made this a long long time ago , before I new about Shell.Application etc. Not the prettiest by today's standards but it got the job done for me at that time. getfolder.lsp GetFolder.DCL 2 Quote
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.