Do you mean you want another instance of the entities with their Layer property changed to the current layer ?
Pretty much. DinØsaur got it too.
Before the command "Copy Objects to New Layer" was was added to AutoCAD's Express Tools (v 2005?) the situation was worse. Back then, to do this you had to select everything on the original layer (perhaps isolating the layer first, or using a filter if you knew how), then run COPY. And you usually wanted to move it all to the side so you could select the copied objects without selecting any original objects. Then you changed the layer property of the copied objects (again selecting a layer from a list of layers in the drawing which could be 5 layers or 30 layers), and then move the new objects back to the exact same point as before. Then you'd want to turn off or lock the original layer so you can edit the objects on the new layer. I was a real hassle.
And I'm sure a knowledge drafter could have shown me some ways to do this much more efficiently - but I'm just and engineer.
So when the "Copy Objects to New Layer" command came in with the Express Tools, I was a happy camper. It wasn't perfect, but it saved some step.
Now this guy I think wants to make a custom command that will do the following:
- Select all the objects on a specific layers
- Copy those objects to the active (or current) layer
And maybe assign it to a button too.
It sounds simple, but I suppose programmatically, it might be more complicated.
I'm think the first thing the command would do is ask the user to select the original layer, perhaps by picking an object from that layer. Then it might ask the user if it should turn off the original layer. To me it still sounds like a simple program. But as a n00b, I wouldn't know where to start. I can't even get the "HelloWorld" program to work. (see my post
http://www.theswamp.org/index.php?topic=20401.msg278169#msg278169.) This is just the kind of specialized little program I want to be able to write. So if anyone can help me get "HelloWorld" to run...