TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: bharless72 on February 27, 2023, 11:41:13 PM

Title: Could someone tell me if this is possible with LISP
Post 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.
Title: Re: Could someone tell me if this is possible with LISP
Post by: It's Alive! on February 28, 2023, 12:11:39 AM
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
Title: Re: Could someone tell me if this is possible with LISP
Post by: BIGAL on February 28, 2023, 05:52:48 PM
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.
Title: Re: Could someone tell me if this is possible with LISP
Post by: Lee Mac on February 28, 2023, 06:12:36 PM
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.