Paul Li Posted Thursday at 05:30 AM Posted Thursday at 05:30 AM Attached is code SlbShow.lsp that ChatGpt help me generate which would run on AutoCAD on Windows OS. It'll first open a file window to select an existing slide library file like acad.slb Then run a vbscript to extract the names of the slides inside the selected slide library and place this into a text file. Next, the slides inside the selected slide library will be displayed in a custom dcl made up of a row of 4 x 5 column image buttons. Finally, when an Image button is clicked another window appears showing the slide in a larger image button view. I would like to know when vbscript or wscript is restricted does the code handle this and exit properly. Any other feedback is welcome. SlbShow.lsp 1 1 Quote
BIGAL Posted Thursday at 11:00 PM Posted Thursday at 11:00 PM Tried it in Bricscad V25 worked ok, a side issue it pops open the text file in Notepad which I have to close. I really don't want these TXT files being added to the chosen slb directory. They should be deleted or an option keep or delete. 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.