View Full Version : Batch convert compressed ME10 files to DWG/DXF
Brian Marsden
01-10-2000, 06:31 AM
Is there any version of the MI/DXF coverter that will handle compressed MI files? or is there any way of converting compressed MI files to uncompressed files outside of ME10?
Robert Aronsson
01-10-2000, 08:40 AM
I have a macro that takes all files in a dir and load them in ME10 and then store tham with same name +.dxf Send me a mail if you want it robert
I have a unix shell script (mi2dxf) that will convert compressed or uncompressed mi files to dxf. You can use it to convert a single file or or batch convert all of the files in a directory. The files can be a combination of compressed and uncompressed mi files. The script calls the dxf translator (you have to have a dxf translator license) which it assumes to be at /usr/PE/dxf/dxf. The location of the translator can be changed in the shell script. It can cope with directories which contain subdirectories and non-mi files. It just skips them. The translated file has the same name as the original file plus a .dxf extension. My experience is that this works better than pulling the drawing into ME10. Our secretary uses this script to translate the drawings sent to vendors. Send me an email if you would like a copy.
Andreas Claesson
01-24-2000, 03:01 AM
If you use HP-UX you can uncompress a MI-compressed "mifile" with. mv mifile mifile.Z uncompress mifile.Z
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.