Yes Paul, I just read through this thread from the beginning and was reminded of it, so gave it a try.
It failed, but I need to review if I'm setting it up right to verify that it's not working.
Will get back to you when finished.
UPDATE:
Didn't work.
This is what I typed in the ScriptLine:
_.open *file* (load "e:/foo4.lsp") (foo4) _close
I couldn't find a clear statement for syntax with this app.
Is that correct?
When I type 'foo4' (no quotes) at the command prompt, it runs perfectly.
I also tried adding to the foo4.lsp file this line at various places near the end to close the file and it failed:
(command "Close" "N")
Can't make heads nor tails of this mess.
It's like a Chinaman trying to talk to a Greek who's trying to talk to a Brit, who's trying to talk to Saudi Muslim.
All speaking a different language, no meeting of the minds.
In the industry we call that a CLUSTER F**K.
Anyway, would you be so kind as to add a CloseFile to the end of the lsp file so I can run it off a toolbar button?
I don't mind pressing a button 200x to get a pack of DXF's processed.
It beats 5k presses resulting from doing the same thing to every file one at a time, one change at a time!
One of the things I bitched about in this forum and in the Inventor forum when I gave a shyt about product enhancements has to do with data management. I told them that the more data you can CREATE, the more data you must QC. That means you are adding to a person's work load exponentially. So not only does he have to create the data, but he also has to process it in a meaningful way (drawing creation), as well as QC it (checking). That also means the software is needs better tools for managing that data. That's where coding comes into play. But since most of us can't code, we need built-in functions/commands to do the tedious tasks that increased volumes of data require. The best way to do that is with a SIMPLE USER FRIENDLY MACRO LANGUAGE. That requires some savvy and work on the part of the developers to create commands that can process the data categorically. But after over THIRTY YEARS OF WAITING, where are those tools???
Let me give you an example of a structural job I once did using Inventor. I have a number of Inventor customizations that do a lot of the repetitive work for me, thanks to the experts in the Inventor Customization forum (and a bit of hacking around on my part). Saves an amazing amount of time and reduces the RSI to a minimum. But one thing that I could never automate with Inventor is 'automatic detail drawings' like the structural software easily does. I bitched and moaned abut that for years to no effect. Well, this one job came along and I had SEVENTY TWO SHEETS OF DRAWINGS that I had to create and QC. 1/3 of them were details (angles, w-beams, pipes, channels, formed plates, flat patterns, weldments assemblies, concrete work, and construction drawings. All the sheets were packed with infor, every square inch. All done MANUALLY b/c the developers REFUSE to add a simple function like the structural software has. These kinds of jobs that I do don't play well w/the structural software due to the custom nature of them, so renting structural software is a red light. But if I had 'automatic drawings' for the weldments and single parts, that would've saved me about a WEEK of work. So that ought to show you how important INTELLIGENT, ROUTINE DEVELOPMENT of CAD software is, like in this case. All they needed to do is add a script function that would cancel a command and give the option to either terminate the script or continue processing it. That's what I'm talking about.
... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator