supermonkey Posted November 29, 2022 Share Posted November 29, 2022 Hi all, My work have recently "upgraded" to Autocad LT 23 from an older full Autocad & as a result, I can no longer run my time saving Lisp routines. We use a third party program which exports several dwg files per job. I had been using lisp to insert each dwg file as a block in my drawing, all spaced out along a row (eg block chart or insertblks). Is there a way to do this without lisp? Everything i've found would mean importing one at a time. Thanks Quote Link to comment Share on other sites More sharing options...
ReMark Posted November 29, 2022 Share Posted November 29, 2022 I believe it could be done with a macro. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted November 29, 2022 Share Posted November 29, 2022 Changing to say Bricscad would have been a better move. Anyway you could maybe do something in excel its very easy to copy a column of commands to the command line. 1 Quote Link to comment Share on other sites More sharing options...
supermonkey Posted November 30, 2022 Author Share Posted November 30, 2022 thanks both for your replies. I agree about Bricscad having used it in the past, but I am not in charge! The spreadsheet idea is a good one - but the insert command just brings up the blocks paellete. I'm not sure how I reference the dwg file & it's path? I've tried the following with no luck: insert "C:\\USERS\\USER\\DESKTOP\\DRAWING.DWG" "0,0" 1 1 0 insert "C:\\USERS\\USER\\DESKTOP\\DRAWING.DWG" pt "" "" "" -insert;C:\\USERS\\USER\\DESKTOP\\DRAWING.DWG;\;; Quote Link to comment Share on other sites More sharing options...
tombu Posted December 1, 2022 Share Posted December 1, 2022 For pathnames us foreword slash (/) not the backslash (\) About Special Control Characters in Command Macros (\) Pauses for user input (cannot be used with accelerators). You actually used (\) to pause for user input on your last try. Maybe: -insert;C:/USERS/USER/DESKTOP/DRAWING.DWG;\;; Quote Link to comment Share on other sites More sharing options...
BIGAL Posted December 1, 2022 Share Posted December 1, 2022 Watch out for spaces in file names or directories maybe -insert;"C:/USERS/USER/DESKTOP/DRAWING.DWG";\;; 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.