Author Topic: looking for code for opening all dwgs in a selected directory  (Read 1203 times)

0 Members and 1 Guest are viewing this topic.

andrew..

  • Newt
  • Posts: 24
looking for code for opening all dwgs in a selected directory
« on: February 10, 2021, 04:28:23 PM »
I want to open all dwgs in a list from a manually selected directory.
before I begin to write code for attempting this I wanted to see if anyone has any code they would be willing to share that does this or relatively close to doing this.

thanks

BIGAL

  • Swamp Rat
  • Posts: 1417
  • 40 + years of using Autocad
Re: looking for code for opening all dwgs in a selected directory
« Reply #1 on: February 10, 2021, 06:46:46 PM »
A script will open as many dwgs as you want so you only need a script writer program.

Try this http://www.lee-mac.com/scriptwriter.html
A man who never made a mistake never made anything

JohnK

  • Administrator
  • Seagull
  • Posts: 10648
Re: looking for code for opening all dwgs in a selected directory
« Reply #2 on: February 10, 2021, 09:02:53 PM »
https://www.theswamp.org/index.php?topic=55792.msg599445#msg599445

I wouldn't write scripts in script language if you can help it; horrible, clunky, plain-old-yucky to deal with.

The above link was a recent need of mine for a simple scripting tool. Works great.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

BIGAL

  • Swamp Rat
  • Posts: 1417
  • 40 + years of using Autocad
Re: looking for code for opening all dwgs in a selected directory
« Reply #3 on: February 11, 2021, 06:49:43 PM »
Agree with you John but only asked to "Open" dwgs so with out further information were both correct. Need OP to provide the "I want to do"
A man who never made a mistake never made anything