Butch Posted November 5, 2009 Posted November 5, 2009 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? Quote
ScribbleJ Posted November 5, 2009 Posted November 5, 2009 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). Quote
Butch Posted November 5, 2009 Author Posted November 5, 2009 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 :-( Quote
ScribbleJ Posted November 5, 2009 Posted November 5, 2009 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. Quote
RobDraw Posted November 6, 2009 Posted November 6, 2009 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. Quote
skipsophrenic Posted November 6, 2009 Posted November 6, 2009 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 Quote
Glen Smith Posted November 6, 2009 Posted November 6, 2009 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. Quote
Tankman Posted November 6, 2009 Posted November 6, 2009 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 Quote
alanjt Posted November 6, 2009 Posted November 6, 2009 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... Make a clipboard a selection set of objects in one drawing. Paste into other drawing as block at 0,0,0 to be out of viewing. 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). 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 Quote
Butch Posted November 6, 2009 Author Posted November 6, 2009 Design Center does allow you to drag and drop blocks from one drawing to another. This doesnt work here :-( How do you do this? Quote
alanjt Posted November 6, 2009 Posted November 6, 2009 This doesnt work here :-(How do you do this? Drag and drop or right-click and insert. Quote
rkent Posted November 6, 2009 Posted November 6, 2009 sounds like a job for the new autodesk Clipboard command, utility. labs.autodesk.com Plugin of the month, Clipboard Quote
alanjt Posted November 6, 2009 Posted November 6, 2009 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. 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.