gontzi7 Posted May 6 Posted May 6 (edited) Hey everyone, First post here, but I have been lurking around quite a bit on the past to learn a couple things. Long story short, I want to create a .scr to automate the creation and insertion of many data linked tables. I just started to mess around and test some things, and I came about the "-" modifier in front of commands to suppress the dialog box. It looks like it does not work with the DATALINK command (the user interface still comes up to prompt the user to create the link), which is a bummer because this is the main bottleneck of the project. I already did the filedia = 0 and tested it with -TABLE, it works with that command. I guess what I'm asking is, does the "-" modifier only work with certain commands, or am I doing something wrong with the DATALINK command? Any help is much appreciated. (EDIT) My specs, just in case it is needed: AutoCAD LT 2026, everything is up to date Almost everything is stock, I have not touched anything else besides filedia Edited May 6 by gontzi7 Specs and more info about the system Quote
mhupp Posted May 6 Posted May 6 Some commands don't have a command line only mode. With having to create a name for the link, the path for the file, the sheet, and range in the spreadsheet they probably want you to use the GUI. maybe someone is non LT version can check if -datalink works but i doubt it. might want to see if you can create link from Excel to Autocad. Quote
BIGAL Posted May 7 Posted May 7 Welcome aboard. Try this, IT WILL NOT WORK WITH LT 2024+ need a full Acad, Bricscad etc. data link excel.lsp Quote
gontzi7 Posted May 7 Author Posted May 7 7 hours ago, BIGAL said: Welcome aboard. Try this, IT WILL NOT WORK WITH LT 2024+ need a full Acad, Bricscad etc. data link excel.lsp 4.09 kB · 1 download Yeah, tried it and no luck. I've found an interesting lead regarding a .NET plugin and doing it that way. I will investigate more and follow up with whatever I end up finding, but it looks like what I'm trying to do is not supported at all by either AutoCAD or AutoCAD LT 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.