News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Command Line Batch Conversion

Started by necronian, March 26, 2020, 03:54:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

necronian

I'm 100% sure that this has been asked before but I'm having trouble finding anything. Everything coming up is about the File Converter SDK example addon in TurboCAD.

My objective to to automatically batch convert tcw files to dxf without any user interaction. Something like turbocad.exe -convert source.tcw destination.dxf

It took me about 5 minutes to find out about AcCoreConsole.exe in autocad and write a script to convert dwg to dxf. I haven't tackled sketchup yet but I found that it has a Sketchup.exe -RubyStartup rubyscript.rb switch and the ruby api has a function called export so I'm not expecting much trouble.

Can someone point me in the correct direction for managing this in TurboCAD? Hopefully there is a simple way, if the only solution involves the c(++/#) sdk I think I my solution may be to just tell TurboCAD users to always manually save every file twice.

Jeff_in_90620

The easiest way to find it is if the AddOns tab is present in your selected User Interface.

If so, then the File Converter command will be as shown in the first image.

If not, then look under the Commands tab in the Customize popup and drag it into your preferred sub-menu location.

Good luck with it.  I didn't have so much when I tried it.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

necronian

I did specifically say I know about that and it is not what I'm looking for in the second sentence of my question, but thanks I guess.

murray dickinson

What trouble did you have with it, Jeff?   Works as advertised for me.  Set the input and output parameters and folders, click run, make coffee and drink it.  You do have to set the version options for dxf/dwg in the main program. 

Alvin Gregorio

I was able to launch "file converter" without TurboCAD being open.

Via Windows Explorer, I navigated to "C:\Program Files\IMSIDesign\TCWP21\Program", then clicked on to open the "converter.exe" application file.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson


Alvin Gregorio

Quote from: Alvin Gregorio on March 26, 2020, 08:50:47 AM
I was able to launch "file converter" without TurboCAD being open.

Via Windows Explorer, I navigated to "C:\Program Files\IMSIDesign\TCWP21\Program", then clicked on to open the "converter.exe" application file.

I meant to also share:  Once I had navigated to that "converter.exe" file, I right-clicked on it and chose "Run as Administrator".  Just for insurance/assurances sake.  It seems like the type of little program that could use all the help it can get.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)