customizing menu's

Discussion in 'AutoCAD' started by jojo, Jan 11, 2005.

  1. jojo

    jojo Guest

    works fine till......
    all my layer names have no spaces. For example 1-wall, 1-furniture, ect.

    one of my employees started a new project and invented a ton of new layers
    to control
    other entities. I understand why, but in trying to add his new layers, I
    find a problem.

    his layers have a space in the name. for example:
    1plan cabinet
    when I try to add this layer name to the lsp file, it only recognizes the
    1plan and not the "space" cabinet.
    Does he need to re-enter all his layers without spaces, or is there a symbol
    that represents a space
    in the layer name in the lsp file?


    [First Floor]^C^C^P(setq
    lyyc"1"lyyr"border,*ff,*fp,1");lctrl;-la;off;1-opt*;-la,th,uplans
    1-2*,on,uplans 1-2*;;^P
    this one does not work...see the space between uplans and 1

    [First Floor]^C^C^P(setq
    lyyc"1"lyyr"border,*ff,*fp,1");lctrl;-la;off;1-opt*;-la,th,uplans1-2*,on,upl
    ans1-2*;;^P
    this one does if I rename the layers (don't really wanna do that)

    thanks,
    jojo
     
    jojo, Jan 11, 2005
    #1
  2. jojo

    R.K. McSwain Guest

    Try wrapping the layer name in quotes

    "layer name with spaces"
     
    R.K. McSwain, Jan 12, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.