Author Topic: Create object on a specific layer  (Read 3212 times)

0 Members and 1 Guest are viewing this topic.

Kate M

  • Guest
Create object on a specific layer
« on: February 12, 2004, 11:19:42 AM »
I'm trying to modify the breakl.lsp to automatically put it on my symbol layer -- seems like it should be pretty simple?

Code: [Select]
 (list "HIGHLIGHT" 0
          "CMDECHO" 0
           "attreq" 0
         "limcheck" 0
           "osmode" (getvar "osmode")
          "celtype" "bylayer"
;            "layer" "rsa-anno-symbol"  <-- this doesn't work
  );list


Is there something to set the layer like celtype?

daron

  • Guest
Re: Create object on a specific layer
« Reply #1 on: February 12, 2004, 11:22:35 AM »
Code: [Select]
 (list "HIGHLIGHT" 0
          "CMDECHO" 0
           "attreq" 0
         "limcheck" 0
           "osmode" (getvar "osmode")
          "celtype" "bylayer"
;            "clayer" "rsa-anno-symbol"  <-- this doesn't work
  );list


clayer sets the layer

Kate M

  • Guest
Create object on a specific layer
« Reply #2 on: February 12, 2004, 12:03:19 PM »
Very sneaky, taking the "e" out...I'd looked for "celayer." :-) Thanks, Daron -- works great now!

daron

  • Guest
Create object on a specific layer
« Reply #3 on: February 12, 2004, 02:54:50 PM »
Not a problem. It's easy to overlook.