layer name and mns file

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

  1. jojo

    jojo Guest

    Hi,

    I have a layer control lisp file called layer.mns that I customized
    extensively to
    control layers on our projects.

    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?

    Thanks (hope it makes sense)
    jojo
     
    jojo, Jan 10, 2005
    #1
  2. jojo

    jojo Guest

    here is an example of what I'm trying to say.

    [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 10, 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.