AllExperts > AutoCAD 
Search      
AutoCAD
Volunteer
Answers to thousands of questions
 Home · More AutoCAD Questions · Answer Library  · Encyclopedia ·
More AutoCAD Answers
Question Library

Ask a question about AutoCAD
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Scott Cook
Expertise
I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!

Experience
Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com. PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.
 
   

You are here:  Experts > Computing/Technology > Computer-Aided Design > AutoCAD > Autocad File Converter

AutoCAD - Autocad File Converter


Expert: Scott Cook - 3/2/2005

Question
I was looking for a way to progammitically convert 2004 .dwg files to 2000 .dwg files. We recieve alot of .dwg files from our corporate office but we havent upgraded to AC 2005 yet and were looking for a way to do a conversion on a large amount of files. I am versed in Visual Basic and would like to create a stand alone programm that I can distribute among the workstations so they can convert as needed. The problem is, I cant find the exact code that will save from 1 file version to another. Any help would be appreciated. Thank you.

Answer
Should be pretty trivial, the way I'd do it is with my runbatch routine that I provide for free when someone downloads a copy of plot2000 for evaluation. The runbatch is free and contained in the download.
You can get that at www.plot2000.com
Runbatch will need a lisp routine to run. Runbatch saves drawings after it's done, so if you set autocad to save as an earlier version, all you really need to do is open and save each file - you don't even need a lisp routine.

You can make a one-line .lsp that just says (princ "I was here") in each drawing. use that lisp in runbatch - it will save as it goes.

if you want to write your own full vb routine, you'll need to consult the autocad object model reference in the help - but I've already done 95% of the work you need, so no need to reinvent the wheel.

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.