Search the Community
Showing results for tags 'spaces'.
Jayplac posted a topic in The CUI, Hatches, Linetypes, Scripts & MacrosHey there! I'm pretty new to scrpits and all programing operations of AutoCAD. I've got this super complex script that I'm trying to run and need some help debugging from one of you fine Gurus. Here it is: -rename block Bald Cypress Red Oak That's it. My problem comes from the space after the word Bald. What I believe is happening is that AutoCAD thinks that the space is an enter. What do you guys think? Is there a way around this? Simple is always good. I spent half the night last night looking for a different way to do this. A Lisp would work, I'm sure, but I don't kno
ILoveMadoka posted a topic in The CUI, Hatches, Linetypes, Scripts & MacrosI have three network printers that I print to for various reasons. I want to write a script that goes through the printer setup for each printer but when it gets to the printer name it always bombs out because the printer name has spaces in it. Some of the printer paths have standard network names too including backslashes ie: \\Server1\HP 5000 Changing the printer name is not an option. Even the paper size has spaces "11 x 17" so that is also a problem. I use Tabloid if it is an option but one printer there is only 11 x 17! Can someone please tell me how to use text in a