TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: bharless72 on February 27, 2023, 11:41:13 PM
-
I would like to create a program that can pull blocks from saved drawings based on user input data, insert them and manipulate their position into a current drawing. I don't know much about programming but such a program could be very beneficial at work. It would have to use a userform to gather data. I am really wondering if VLISP is the right choice for this or if I am wasting my time. If this sounds doable then if you could suggest resources to learn that would be greatly appreciated. Thank you in advance.
-
I think C# might be a better choice because you can load the saved drawings as a side database and move around in it pretty easily
You ‘can’ use lisp to do what you want though, start here http://www.lee-mac.com/odbxbase.html
-
It has been solved get a copy of www.Lee-mac.com Steal.lsp it allows you to steal a block from another closed dwg. It can be called from a lisp with the dwg name and block name, then can insert where you want.
-
Thanks for the recommendations both.
Here is another example (http://lee-mac.com/copyblockfromdrawing.html), very tailored to the OP's description of the task.