CoCreate User Forum

CoCreate User Forum (https://www.cocreateusers.org/forum/index.php)
-   Customization (https://www.cocreateusers.org/forum/forumdisplay.php?f=12)
-   -   DXF service (https://www.cocreateusers.org/forum/showthread.php?t=8207)

Bernard W 04-10-2015 03:45 AM

DXF service
 
Hi,
I like to use CoCreate OSD as a service to translate native MI files to DXF. Can you please get me started, point me to the documentation, samples, etc so to work in an automated way ? We are acualy on version 16.50B. Thanks.

jkramer 04-10-2015 03:54 AM

Re: DXF service
 
Hi,

you should look for <Program Folder of OSD 16>\dxfdwg.
In this folder is a DOS command line tool that can do just what you're looking for. If you start it from a Windows Explorer, the tool will tell you what to do. If you want to use it from a DOS window, here are the command line options:
Code:

Usage:
 dxfdwg [-option] [-t] [-k] [-b batch_file] [-e config_file] [-f source [dest [log]]]

  options:
    -i  DXF  to  MI
    -o  MI  to  DXF
    -d  DWG  to  MI
    -m  MI  to  DWG
    -s  MI  to  SVG

    -v  version
    -n  name of translator
    -?  help

  Note: -b and -f are mutually exclusive.
        -t target version (only valid with options o and m)
        -k keep dest file if exists (only valid with options o and m and s)

For example, here's how to translate a dxf to mi:
Code:

K:\csn\dxfdwg\dxfdwg -i -f C:\local\KLAD.dxf C:\local\KLAD.mi
You'll probably need the option -o (which is mi to dxf).
Regards, Jaap


All times are GMT -8. The time now is 02:26 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.