vlisp Posted February 20, 2015 Share Posted February 20, 2015 Today, with surprise I found that when I copy grouped objects to a new drawing, they break down into separate entities. The group of objects are named, selectable. Is there a way to keep this groups of objects into the new drawing? Thanks! Quote Link to comment Share on other sites More sharing options...
hanhphuc Posted February 20, 2015 Share Posted February 20, 2015 Found at lower Left of this thread: Similar Threads Quote Link to comment Share on other sites More sharing options...
vlisp Posted February 20, 2015 Author Share Posted February 20, 2015 thank you hanhphuc! I will try with wblock and i will callback of the rezult. Quote Link to comment Share on other sites More sharing options...
vlisp Posted February 20, 2015 Author Share Posted February 20, 2015 I tried this approach with wblock. Did block with the selected group. Then copy and paste this block into new drawing. In The new drawing explode the block and not receiving group. May be this is not the way. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted February 23, 2015 Share Posted February 23, 2015 Try inserting the block into the new drawing instead of C&P. Quote Link to comment Share on other sites More sharing options...
vlisp Posted March 13, 2015 Author Share Posted March 13, 2015 Try inserting the block into the new drawing instead of C&P. does not work. The grouped objects are dissociate. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted March 13, 2015 Share Posted March 13, 2015 I believe you are supposed to leave it a block. Any particular reason you need a group instead of a block? Might be easier to just regroup them after copying the block. I found this Macro for a button. I haven't tested it, it may need adjustments. ^C^C_pasteclip;\_explode;_last;_-group;_create;*;;_previous;; Maybe someone will write you a LISP, but I really do not see the reason. Quote Link to comment Share on other sites More sharing options...
tombu Posted March 13, 2015 Share Posted March 13, 2015 Adapted from SLW210's post. Select and copy objects, then paste as block, explode, and group previous selection. ^C^C_pasteblock;\_explode;_last;_-group;_create;*;;_previous;; I just replaced _pasteclip with _pasteblock Added the macro: Paste as Group Description: Pastes objects from the Clipboard into the current drawing as a group Image: RCDATA_16_NEWGROUP This one will purge the block after exploding and grouping the objects: ^C^C_pasteblock;\(setq LstBlk(vla-get-Name (vlax-ename->vla-object (entlast))));_explode;_last;_-group;_create;*;;_previous;;(command "-purge" "B" LstBlk "N"); Quote Link to comment Share on other sites More sharing options...
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.