Jump to content

Recommended Posts

Posted

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? 

Posted (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 by mhupp
  • Like 1
Posted (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 by BIGAL
  • Like 1
Posted

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!

Posted
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.

Posted

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

  • Like 2

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...