PDA

View Full Version : Pausing for user input



Pinkguju
05-01-2010, 01:27 PM
So i have a script that does the following:
model space current view (instead of layout)
zoom;extents
purge;all
layer 0 current
save as

now i have the path that i want to save as but when i put the backslash (\), in the script to pause until i input the file name, it doesn't work. I have numerous files that, when i do a save as they are going ot the same place but i need them to be named something different each time. Which is why i'm wanting to do the user input business but i can't get it to work.

Here is it: ;SAVEAS;DXF;3;\\uskihapp2\d1$\Retail_Focus\(user input);Y;_CLOSE;

I know to put the path and the new drawing name after the 3 but i want the path to be constant and the name to be something that the user inputs.

CarLB
05-01-2010, 03:40 PM
..maybe if you use some lisp statements in the macro...for you to look into...
;SAVEAS;DXF;3;(strcat "\\uskihapp2\\d1$\\Retail_Focus\\" (getstring "drawing name"));Y;_CLOSE;