Skip to main content

Hi, I'm running a simple workbench that converts a single dwg to GeoJSON. when I start the process normally in FME it works fine. But when I make a bat+tcl I see that the path to the dwg file changes and there is a "\\" missing between the folder (Linjedata) and the dwg file (T_E6SL_P00_f_C_E6-Profillinje.dwg) (AutoCAD Reader: Error opening file 'C:LinjedataT_E6SL_P00_f_C_E6-Profillinje.dwg' during version check) Is this something I can change in the tcl file? However, I got around this by putting the dwg file on C:, but then I only get a new folder with the same name as the dwg file with an empty file called "C" inside as the result, instead of a GeoJSON file. What I'm trying to achieve is just the same as when I start the workbench in FME, but run as a bat file.

When you run the workspace, the first few lines of the log will contain the command line call to run the process

image 


Thank you very much, it worked great!


Reply