Author Topic: Need guidance with batch processing  (Read 8830 times)

0 Members and 1 Guest are viewing this topic.

JohnK

  • Administrator
  • Seagull
  • Posts: 10603
Re: Need guidance with batch processing
« Reply #15 on: February 24, 2010, 09:20:00 PM »
i dont see why not.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

debgun

  • Guest
Re: Need guidance with batch processing
« Reply #16 on: February 25, 2010, 09:16:19 AM »
Se7en,

I didn't mean to sound like my question was answered.  I'd love to see what you all come up with since I'm slow at all of this.  I was considering all of the options that Tim had supplied.

Debbie

JohnK

  • Administrator
  • Seagull
  • Posts: 10603
Re: Need guidance with batch processing
« Reply #17 on: February 25, 2010, 09:32:19 AM »
cool.

can you code (for when we decide upon a method)?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

debgun

  • Guest
Re: Need guidance with batch processing
« Reply #18 on: February 25, 2010, 09:43:43 AM »
Possibly.. The internet and help files are a great resource.

JohnK

  • Administrator
  • Seagull
  • Posts: 10603
Re: Need guidance with batch processing
« Reply #19 on: February 25, 2010, 09:49:08 AM »
lol  yeah that's where i get all my stuff too. *blink* Wait a minute! Aren't we on the internet?! Oh great, now what are we gonna do?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

debgun

  • Guest
Re: Need guidance with batch processing
« Reply #20 on: February 25, 2010, 09:59:07 AM »
Yea!
Either switching ACAD to SDI mode and running LISP on multiple files.  This sounds easy!  I'm assuming setting variable SDI to 1 and starting creating new drawings.

Or running a LISP that writes a script file that will run the commands.  This sounds advanced!  I'm not sure where to begin on this one; I'd have to do more research.

What is your thought?

JohnK

  • Administrator
  • Seagull
  • Posts: 10603
Re: Need guidance with batch processing
« Reply #21 on: February 25, 2010, 10:12:09 AM »
sorta like option one. but i wanted to send T.Willey my files so he can "ground" me if need be. I wrote my own batch processing THING a few years back but 1. i tend to get a bit carried away with my code and do some CRAZY stuff and 2. i feel it may be a bit un-user-friendly.

So if T.Willey likes my idea then i will offer up what i have and we can start hacking away at it. If he doesnt like it then we can decide upon a method and just write code for that. Sound like a plan?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

debgun

  • Guest
Re: Need guidance with batch processing
« Reply #22 on: February 25, 2010, 10:23:42 AM »
Yup!  If it helps, feel free to contact me directly at daguenthner@gmail.com.

JohnK

  • Administrator
  • Seagull
  • Posts: 10603
Re: Need guidance with batch processing
« Reply #23 on: February 25, 2010, 02:43:52 PM »
I think my method i had was too complicated (I did need the "grounding"; glad i checked first.). So now we are back to deciding upon a method for this little task.

Method #1:
> Either switching ACAD to SDI mode and running LISP on multiple files.  

Method #2:
> Or running a LISP that writes a script file that will run the commands.  

hummm....

which works better for you debgun?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

debgun

  • Guest
Re: Need guidance with batch processing
« Reply #24 on: February 25, 2010, 04:12:10 PM »
I'm in favor of method 2.

JohnK

  • Administrator
  • Seagull
  • Posts: 10603
Re: Need guidance with batch processing
« Reply #25 on: February 25, 2010, 04:15:39 PM »
okay. Have you tried T.Willey's example? Does it work as advertised? Do we need to modify it?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

debgun

  • Guest
Re: Need guidance with batch processing
« Reply #26 on: February 25, 2010, 04:28:30 PM »
Let me try BScript.  I hadn't noticed it earlier.

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Need guidance with batch processing
« Reply #27 on: February 25, 2010, 04:55:55 PM »
If that version doesn't work for you, let me know, as I still use that function nowadays, and can post the one I use, but I don't think I have done much ( if anything ) to the code.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

JohnK

  • Administrator
  • Seagull
  • Posts: 10603
Re: Need guidance with batch processing
« Reply #28 on: February 25, 2010, 05:21:08 PM »
here's an unintelligent way to communicate between drawings :)
don't forget to delete any temporary files created

Whoa!? I just noticed VovKa's post. :surprised:
VovKa, thats cool. Ive never used vl-load-all before.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

debgun

  • Guest
Re: Need guidance with batch processing
« Reply #29 on: February 26, 2010, 09:45:50 AM »
O.K. I finally got bscript to work (my brain shutdown early yesterday).  This code won't work as is since bscript is opening existing drawings and in my instance the drawings need to be created.