![selection set bricscad selection set bricscad](https://blog.bricsys.com/wp-content/uploads/2018/06/hatches.png)
However, if there's something you can't find, the AfraLISP Archive contains a full copy of the original site as originally created by Kenny Ramage. We're currently revamping the entire site to bring you updated tutorials and a better user experience. ‘ Hey, what's happened to AfraLISP?’ If you've visited our site before, you'll notice some big changes. (setq la (assoc 8 (entget (car (entsel))))) (princ "\n Choose another object a different desired layer: ") Check the Storeys settings stripe and select the PavilionFirst Floor storey from. (setq laa (assoc 8 (entget (car (entsel))))) The Edit Selection Set dialog window opens. (princ "\n Choose an object on desired layer: ") (defun c:layer_copy ( / laa la p1 p2 ss ) The following lisp routine will let you copy all the objects from two layers. I use them mostly at the command prompt to copy several layers at once, which tends to be easier then using the filter dialog box. There is not really all that much to these conditionals and they are very handy. See if you can figure out what it would select. This is probably not practical, but it will work. We can nest all sorts of conditionals into a selection set filter : If we wish to select text that is both on the layer notes and the color 3 using XOR we must group these properties with another conditional. We cannot select entities that are text on the layer notes and the color 3. However, using XOR we may select only entities that are text and on layer notes or entities that are text and the color 3. For instance, using OR we may select entities that are text and are either on the layer notes or have the color 3 or both. The XOR conditional works as an exclusive OR operator. Selects entities that do not match one condition. Selects entities that match one or the other condition. Selects entities that match any of the conditions. Selects entities that match all conditions. Here is a list of the Conditionals or "selection set filters" you can use : AND The number of operands you can enclose depends on the operation. The Conditional OperatorsĬonditional operators - AND, OR, XOR, and NOT - must be paired and balanced correctly in the filter list. This would select only those entities that are on the layer notes or are circles and entities that are both lines on the layer s-boundary. If you wanted to select all the circles on layers mylayer and mylayer2 it would look as follows : Command: copy This will only allow you to select circles on mylayer. Another way to use these filters is from the ssget function.
![selection set bricscad selection set bricscad](https://blog.bricsys.com/wp-content/uploads/2020/07/Tuesday-Tips-selecting-entities-1-1200x500.png)
I have found that using the filter command is somewhat cumbersome. Very often I will want to select all items on a layer and move them off to the right hand side of my workspace, but what happens if I want to select two layers? There are always several ways to do things.