itacad Posted March 7, 2018 Posted March 7, 2018 Hello...I often have to copy objects from a layer to others (frozen...) I know copytolayer command, but I need to copy the object in multiple layers and I don't want to write or select one layer at a time...I'd like to select a series of layers. Whereas the object often corresponds to a note, it would be enough for me to copy the object on all the others layers. I tried but I did not find anything about it... Many greetings Quote
devitg Posted March 7, 2018 Posted March 7, 2018 Please upload a sample dwg, and how would you state which layers will be recipient of such note Quote
BIGAL Posted March 8, 2018 Posted March 8, 2018 Like this muliple c-road layers (setq ss (ssget "X" '((8 . "C-ROAD*")))) Quote
itacad Posted March 9, 2018 Author Posted March 9, 2018 Try this one from Tharwat. Steve. Thank you! that's what I needed! there is only a little quirk that I ask for scruple: why the list of layers is not alphabetic? regards Quote
StevJ Posted March 10, 2018 Posted March 10, 2018 Thank you! that's what I needed! there is only a little quirk that I ask for scruple: why the list of layers is not alphabetic?regards You're welcome. I many times wish it could be, to facilitate ease of locating a layer name in a long list. I'm sure it's possible, but I don't know how to add that function. Steve Quote
Grrr Posted March 10, 2018 Posted March 10, 2018 Replace in Tharwat's code: (setq lays (reverse lays)) To: (setq lays (acad_strlsort lays)) Quote
StevJ Posted March 10, 2018 Posted March 10, 2018 Replace in Tharwat's code: (setq lays (reverse lays)) To: (setq lays (acad_strlsort lays)) Thank you Grrr. That small change has made Tharwat's very useful program even better. Steve 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.