Author Topic: Moving objects from one layer to another  (Read 1682 times)

0 Members and 1 Guest are viewing this topic.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Moving objects from one layer to another
« 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. 
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: Moving objects from one layer to another
« Reply #1 on: January 26, 2010, 01:42:27 PM »
+1 for Layer Merge
CAD Tech

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Moving objects from one layer to another
« Reply #2 on: January 26, 2010, 01:54:57 PM »
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Moving objects from one layer to another
« Reply #3 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....

Be your Best


Michael Farrell
http://primeservicesglobal.com/

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Moving objects from one layer to another
« Reply #4 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. :-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Re: Moving objects from one layer to another
« Reply #5 on: January 26, 2010, 02:38:12 PM »
Ditto CAB but VBA
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)