Jump to content

Copying multiple object and pasting one at the time


Recommended Posts

Posted

Is something like this possible?

Let say you have 2 drawing opened in Autocad.

In one drawing you have 4 objects that you want to copy to another drawing. My usual routine would be selecting on object at the time and pasing it to another drawing, wich might take some time if you have lot of objects to be copied.

Any chance that you could select all 4 object, hit copy, switch to another drawing and start pasting one object at the time?

 

p.s. a quick one: how do you load blocks from one drawing to another drawing?

Posted

To your main question I'm pretty sure it is not possible to do what you want.

 

To your second one use Design Center (press Ctrl+2).

Posted
To your second one use Design Center (press Ctrl+2).

 

Yes I went there, but I cannot drag or copy blocks from one drawing to another :-(

Posted

Sorry I misunderstood your question. Without actually having the drawing you want the blocks to be copied to there is no way that I know of to do that.

Posted

Windows clipboard does is capable of holding more than one object but I don't think it works for AutoCAD.

 

Design Center does allow you to drag and drop blocks from one drawing to another.

Posted

Make sure you ucs's in bothe drawings are at the same orientation.

Select all the blocks, then hold down SHIFT + CNTRL + C and

select a point on the drawing as a basepoint.

Go to the next drawing, Perss CNTRL + V

and drop the blocks in to the drawing

:)

Posted

Skipso, I think you missed an F!

 

Butch, I don't think that there is a way to paste the blocks one at a time. I thiknn that the only way to do what you want is copy all of them, paste them off to the side then move them to the right place in the new drawing.

 

The LISP guru's may be able to produce a LISP that would perform this function, but given how easy the workaround is, it probably is not worth them doing.

 

Glen.

Posted

If I have both drawings write protected.

 

I sometimes open one, open the second one, perhaps a blank title page.

Copy the blank to the drawing I want to work from, same window. Close the 2nd open drawing. The OS clipboard, although I've heard of a new one, will only select one copy at a time.

 

Then, move "stuff" from one the other, when done, highlight what you don't want (sweep) and delete.

 

Save the newly created drawing to whatever.

Move to 0,0,0 or wherever.

 

Might seen like a bit of work but, easy enough. :wink:

TRANSFUSION.dwg

Posted

First off, if you utilize the clipboard, you are bound to not being able to clipboard anything until you are finished. With that out of the way...

 

  1. Make a clipboard a selection set of objects in one drawing.
  2. Paste into other drawing as block at 0,0,0 to be out of viewing.
  3. Entnext through the pasted block, putting each object in a list, (entmakex (entget object)) which will create the object in your drawing & outside of the block, convert to a selection set, then use acet-ss-drag-move (or vla and grread, or just plain copy).
  4. Let's say we use acet-ss-drag-move, the user will be given the option to pick a placement point for the object. If its' the object the user wants, he can pick a placement point and the object is moved, if not, the user right-clicks to cancel the object, the object is deleted, you take the next object in the list, entmakex it, acet-ss-drag-move and so on.

In theory, it's possible, just a lot of leg work when you could just alt+tab, grab what you want and be on your way. If they objects are needed in another job, maybe they should just be placed in Tool Palettes.

 

Now, for example, I scratched this out real fast one day when I had to insert a bunch of GIS dxf files. I didnt' want to waste time inserting them one at a time, so I put this together (you'll need dos_lib for the multiple selection window). I executed this, selected 20 something files and went to lunch.

 

It's not what you are looking for, but it's a good example of how to quickly get several drawings/blocks into the current drawing.

 

;;; Alan J. Thompson
(defun c:GISIn (/ #List)
 (and (setq #List (dos_getfilem
                    "Select drawing files to insert at 0,0,0"
                    (getvar "dwgprefix")
                    "*.dwg;*.dxf|*.DXF;*.DWG"
                  ) ;_ dos_getfilem
      ) ;_ setq
      (foreach x (cdr #List)
        (vl-cmdf "_.-insert" (strcat (car #List) x) "0,0,0" "" "" "")
      ) ;_ foreach
 ) ;_ and
 (princ)
) ;_ defun

Posted
Design Center does allow you to drag and drop blocks from one drawing to another.

 

 

This doesnt work here :-(

How do you do this?

Posted
This doesnt work here :-(

How do you do this?

Drag and drop or right-click and insert.

dc.gif

Posted

sounds like a job for the new autodesk Clipboard command, utility.

labs.autodesk.com

 

Plugin of the month, Clipboard

Posted
sounds like a job for the new autodesk Clipboard command, utility.

labs.autodesk.com

 

Plugin of the month, Clipboard

HaHaHaHa

Talk about collective consciousness. That's pretty awesome. I really like the option to rename.

ClipBoard.jpg

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...