Is there a way to have spaces in a command and the command still follow through without assuming "enter" wa **** when a space is received while entering info through a cui file?
Heres my issue: In my CUI file i have a macro that refers to a layer to be set current, the layer has a space in it (e-special systems). When this button is pressed, i get an error on the command bar saying "cannot find layer "e-special" The reason, is because there is none. I typed the underscore ( _ ) charachter to try to use that as the space, but it looked at it as being in the layer name. provided is two screen shots. Would i just have to take the space out of the layer name?
Solved! Go to Solution.
Many years ago a Layer Name can not have a space in between so Macro would work fine.
Later on Layer name can be long and spaces can be used, macro stuck on first gear.
It's a 30-mile long marathon to make a button macro to set a layer current with layer name have bunch of spaces, I made it before but NEVER use it because it's faster with LAYCUR command.
Make a lisp to set that layer current and then add this lisp to Startup Suite.
CUI, in the Macro, put in the command of this lisp, it will work.
That adds a command that i was omitting by using this method. In the past if something was on the wrong layer, i simply just selected it and used the pulldown from the toobar to change it. I'll just change my layer name and macro to have no space.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register