Code Red > AutoLISP (Vanilla / Visual)

File with binded xref's layers

(1/1)

OcCad:
I have a bunch of files with multiple versions of their layers within one file. I've read posts about renaming layers and merging layers but have not found something that merge multiple layers onto one layer.

psuedo code

type in command
step through layer list
gather all sim layers and merge onto existing layer
ex: xref1$0$Layer
     xref2$0$Layer
     xref3$0$Layer ======> Layer
     xref4$0$Layer
     xref5$0$Layer

if layer does not exist, create layer and then merge...

some type of:

 *$0$Layer ===> Layer?

mjfarrell:
A MAP query with a Range Table would alter objects layers during the query process; that is should you have MAP to use.

You might also be able to do this with Layer Tranlator.

CAB:
Here is an old one you might try.
http://www.theswamp.org/index.php?topic=4699.msg59371#msg59371

Navigation

[0] Message Index

Go to full version