Trying to convert hundreds of dwg files to dxf, can this be done in FME ?
The Dataset Fanout and Dynamic Workflow might be key technologies. Start from these pages.
The other way would be to have two workspaces.
Workspace 1: Converts DWG to DXF.
Workspace 2: Uses a File/Directory reader to read a list of files. It has a WorkspaceRunner transformer to run Workspace 1 (to which it passes the name of each file and constructs the output name)
Just run workspace 2 and the files will be translated.
I know Takashi's solutions would work, but I think this would be easier and less memory intensive (fanouts are notorious for eating up memory and if you have hundreds of files it could be really bad).
Hope this helps
Mark
The other way would be to have two workspaces.
Workspace 1: Converts DWG to DXF.
Workspace 2: Uses a File/Directory reader to read a list of files. It has a WorkspaceRunner transformer to run Workspace 1 (to which it passes the name of each file and constructs the output name)
Just run workspace 2 and the files will be translated.
I know Takashi's solutions would work, but I think this would be easier and less memory intensive (fanouts are notorious for eating up memory and if you have hundreds of files it could be really bad).
Hope this helps
Mark
Thanks Mark
The Dataset Fanout and Dynamic Workflow might be key technologies. Start from these pages.
Thanks Takashi
The other way would be to have two workspaces.
Workspace 1: Converts DWG to DXF.
Workspace 2: Uses a File/Directory reader to read a list of files. It has a WorkspaceRunner transformer to run Workspace 1 (to which it passes the name of each file and constructs the output name)
Just run workspace 2 and the files will be translated.
I know Takashi's solutions would work, but I think this would be easier and less memory intensive (fanouts are notorious for eating up memory and if you have hundreds of files it could be really bad).
Hope this helps
Mark
Hi Mark,
I know it's almost a lifetime ago, but is there any chance that there is a more recent video tutorial than the screencast you recorded 5 years ago? As it's a Flash file, I've been unable to play it in any browser, even when trying it via https://ruffle.rs/.
Any help would be greatly appreciated,
Regards
Steven
Hi Mark,
I know it's almost a lifetime ago, but is there any chance that there is a more recent video tutorial than the screencast you recorded 5 years ago? As it's a Flash file, I've been unable to play it in any browser, even when trying it via https://ruffle.rs/.
Any help would be greatly appreciated,
Regards
Steven
Hi @mccheynes ,
In case it isn't available, all the same information about the WorkspaceRunner is outlined in this article. The only difference is that your workspace 1 would be the DWG to DXF workspace rather than the polygon builder that is provided in the downloads section.
Hi Mark,
I know it's almost a lifetime ago, but is there any chance that there is a more recent video tutorial than the screencast you recorded 5 years ago? As it's a Flash file, I've been unable to play it in any browser, even when trying it via https://ruffle.rs/.
Any help would be greatly appreciated,
Regards
Steven
Hi Chris,
Thanks for that. I followed the shp conversion example as best as I could, but I am not really any further forward....
I could define the 1st workspace, converting 1 dwg file to 1 dxf file, as a Single Merged Feature Type. I've enabled fme_basename in the Reader.
When I'm defining the WorkspaceRunner Parameters, the 1st Parameter asks me for the Source Files location, which I've set as path_windows. The last Parameter is asking me for the Destination Autodesk AutoCAD dwg/dxf File location, which I've also set as path_windows.
I also added the loggers.
When I then run the Workspace, It fills the directory with the same AutoCAD dwg files, but with a current date/time stamp.
How do I configure this such that it is expecting a folder for the dxf files created, and that the output is actually dxf?
Any help would be gratefully received.
Regards
Steven