Looking for help, im trying to make a quick way to save a dwg over multiple dwgs. What am I missing, its not saving?
Solved! Go to Solution.
Solved by paullimapa. Go to Solution.
@etilley327KA hi,
To achieve this, you have to move to ActiveX (vla \ vlax) functions but before that try SAVEALL command 😀
Moshe
No, SAVEALL is clearly not what you're looking for. If I understand correctly, you will supply text strings, and as long as they have some content [are not "" empty strings], each will be the name of a drawing that is a copy of the current drawing, under that name. [The "Y" is the answer to the question of whether to replace it if it already exists. If it doesn't, that question won't be asked, and an unknown-command message will go by, but it won't bother anything.]
You say it's not saving. Is it getting as far as the prompt saying that it did? You don't include a file path, so are you sure it's not saving? Are you looking in the right place for the drawing(s) it saved?
I'm successful in running your lisp code. But you'll have to use \ or / to separate folder names and surround everything with "..." if there's a space in the folder or file name.
For example: I have a folder in my c drive called it 1 2 = c:\1 2 with a drawing named c.dwg under this folder.
I then ran your code and at the prompt if I attempt to enter with a space without surrounding with "..." then it'll fail
Also if I enter "c:\\1 2\\c" it'll fail.
But I'm successful when surround with "..." by entering "c:/1 2/c" & "c:\1 2\c"
Can't find what you're looking for? Ask the community or share your knowledge.