Message 1 of 2
Copying specific things from model space into a new document

Not applicable
07-24-2020
01:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I have a drawing with multiple rectangles in it. Based on user input I want to copy a certain rectangle and put it into a new drawing. For example if the user tells me 18 x 72 I want to copy the rectangle that is 18 x 72 and so on. I know the user input part I just need to figure out how i can copy certain things using vba. I have tried a lisp and then used sendcommand but that works once and then I have to close autocad to run my program again. I have read that using sendcommand should be avoided at all costs, so I am here. Please help!