TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Artisan on October 21, 2004, 12:40:02 PM
-
I have a quick question about a macro I am trying to use in a button I have created. We use layer states and restore them often to look at different layouts. I have created some buttons that restore named layer states that are one word only. We have a couple that are two or more words long, like Framing Plan. Upon entering this into a macro, one cannot use a space because it reads as an enter. Are there other ways of doing this without changing the names of our states? Maybe a lisp? Thanks
-
You could try
(princ "Framing Plan")
-
Does that work in a button macro? Or would I need to attempt to create a lisp?
-
You should be able to use a named state with a space in it if you enclose the name in quotes.
-
Thanks for the help Keith, that worked great.