TheSwamp

CAD Forums => CAD General => Topic started by: Krushert on January 26, 2010, 01:40:26 PM

Title: Moving objects from one layer to another
Post by: Krushert on January 26, 2010, 01:40:26 PM
Basically moving stuff from the Layer-NEW to Layer-EXISTING.  IT is just that I have 174 layers with a lot of stuff on each layer to go thru and do the move and then times this for 4 more floors.  I am using the Express Tools Layer-Merge command and it is working.  But I am wondering how you guys do it. 
Title: Re: Moving objects from one layer to another
Post by: Rob... on January 26, 2010, 01:42:27 PM
+1 for Layer Merge
Title: Re: Moving objects from one layer to another
Post by: Matt__W on January 26, 2010, 01:54:57 PM
+1 for Layer Merge
Ditto!
Title: Re: Moving objects from one layer to another
Post by: mjfarrell on January 26, 2010, 02:08:31 PM
I would use MAP witha range table and perform a single query operation similar to below:

If Object layer= then change to this other layer....

Title: Re: Moving objects from one layer to another
Post by: CAB on January 26, 2010, 02:23:19 PM
I would create small LISP.
Pseudo Code
Quote
Enter Prefix or select object for New Layer.
Using a filter allow user to select objects
If none selected use all objects in DWG that have that layer
Test for <prefix>-EXISTING layer, if not make it
Move selected objects to that layer.


This would require minimal user input. :-)
Title: Re: Moving objects from one layer to another
Post by: David Hall on January 26, 2010, 02:38:12 PM
Ditto CAB but VBA