If everything in the source drawing is colored BYLAYER, than it could be as simple as:
(command "_.Layer" "_C" "whatevercolor" "xrefname|*" "")
(setvar 'visretain 1)
or in macro format:
^C^C-Layer C whatevercolor xrefname|* ;visretain 1
or in script format:
^C^C-Layer
C
whatevercolor
xrefname|*
visretain
1
You could put it on a toolbar or tool pallette button, or a pull-down menu, or a screen menu, or a
tablet menu, or a script, or define it as a command with (defun) and type the command name, or put
that command name in a location in any of the menu types. Exactly how you put it in them varies a
little with the menu type, but if you get into the menu file, you can see how other things are put
there.
--
Kent Cooper
wrote...
Hello Kent,
Ok.
How does the routine look like? and is it possible to make a
customized button for that?
Thanks
Serge