20th March 2007, 09:45 AM | #1 |
Junior Member
Junior member
Join Date: Mar 2007
Posts: 1
|
SCRIPT: to batch export from dos
Here is my small contribution (with help of Andy).
I use that tcl script (cf. attached file) to convert .ac files from a dos command window. Here is the header of that script for usage information: # Exporter to batch ac3d.exe in a dos shell and converter a file to a new format. # All AC3D export plugins are available. # # Installation: copy that file in the "scripts" directory of AC3D. # That file must have the .tcl extension # # Usage: In a command window (cmd.exe): # C:\> set AC3D_FILE_IN=<your input file>.ac # C:\> set AC3D_FILE_OUT=<your output file>.yourextention # C:\> set AC3D_FILE_CONVERTER=<the output converter to use> # C:\> ac3d.exe # # Example: Convert a FileIn.ac to a FileOut.obj # C:\> set AC3D_FILE_IN= D:\InputDir\FileIn.ac # C:\> set AC3D_FILE_OUT= D:\OutputDir\FileOut.obj # C:\> set AC3D_FILE_CONVERTER=OBJ # C:\> ac3d.exe # # Remarqs: # - The commands could be placed in a .bat file # - Tested on AC3D 5. # - AC3D_FILE_CONVERTER must contain a valid plugin name. # - if AC3D_FILE_CONVERTER is not set, the list of available converters is displayed # - an exporter plugin must be registered using the new ac_register_file_exporter, old method don't work Last edited by jmaupay; 20th March 2007 at 01:40 PM. |
1st November 2007, 04:57 AM | #2 |
Junior Member
Junior member
Join Date: Nov 2007
Posts: 1
|
Re: SCRIPT: to batch export in a .bat file
Hi jmaupay
Thanks for your export script. It works fine. But can you tell me why the direct x exporter is not displayed in the "AC3D_FILE_CONVERTER" list? OBJ,X3D,QUAKEMD2,etc are displayed but directx and many more not. How can i use the directx export with your script? Thank you Sincerely Bonkersdeluxe |
|
|