customizing menu's
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
customizing menu's

 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD
Author Message
jojo
Guest





Posted: Tue Jan 11, 2005 9:25 pm    Post subject: customizing menu's Reply with quote

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

Back to top
R.K. McSwain
Guest





Posted: Wed Jan 12, 2005 5:37 am    Post subject: Re: customizing menu's Reply with quote

On 1/11/2005 10:25 AM jojo wrote:
Quote:
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?

Try wrapping the layer name in quotes

"layer name with spaces"
Back to top
jojo
Guest





Posted: Wed Jan 12, 2005 11:01 pm    Post subject: Re: customizing menu's Reply with quote

"R.K. McSwain" <not@autodesk.com> wrote in message
news:gj_Ed.978$2e7.163@newssvr12.news.prodigy.com...
Quote:
On 1/11/2005 10:25 AM jojo wrote:
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?

Try wrapping the layer name in quotes

"layer name with spaces"

Wow...simple as that!
Thanks, it worked!

jojo

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB