Message 1 of 4
Is there a lisp routine to switch layers back and forth?

Not applicable
02-26-2019
11:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I’m fairly new to lisp functions. At my old job we had a command that would turn one layer (S-BEAM-STEEL) to an existing layer (E-BEAM-STEEL). If the existing layer was not there it would create it. It would also change it to be a different color. You could select a whole detail and switch all its layers in one command. The thing is if you select all the layers and enter the command again it would change the existing layers to the original layer. So you can go back and forth and change original layer to existing layer and existing back to original layer. I’m having trouble trying to replicate this routine. If any one can help or steer me in the right direction that’d be great.