Batch Processing on all open drawings with LISP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a LISP routine that I am trying to implement batch processing on. It takes a job and applies company standards to a drawing, then prints it with a specific naming format, and saves it in the related place. The naming changes according to drawing-specific attributes.
I have it set-up in an OOP format. The command must be executed on each drawing, and there could be 100+. Using a foreach loop would surely be my best approach at this point in time, but how can I iterate my process through every drawing the user has open? (In other words, foreach drawing open, perform the main routine)
I've considered converting my code to publish instead of plot for efficiency and did a pro/cons list. I don't think its the best decision right now.
Also, how could I retrieve all of the open drawing names with another foreach loop, and have them listed in a dialog box with a Confirm / Cancel option before processing my script?