Skip to main content
Solved

Batch deploy into DWG format

  • November 10, 2014
  • 2 replies
  • 21 views

Hi. I am trying to batch processs for the first time.

 

I want to do a batch run translating a few hundred shape file segments into DWG, but my batching does not work with the DWG writers, it stops after translating the first shape file. The batch deploy works fine if I replace the cad writers with a shape writer, it outputs several shapefiles with the transformer attributes. I have merged the feature types using a * wildcard in the reader.

 

 

Even if I remove all transformers from the workspace the DWG writer batch also fails, it just outputs the first file and then stops.

 

If I load the workspace in the quick translator it doesn’t give me an option to output files into separate directories, I can only find this option for translations created from scratch in the quick translator?

 

 

From some other unrelated map files I tested, batch deploy works shape -> DWG and shape -> shape without any problems but not shape -> DWG (even going backwards with the same dataset).

 

 

 

Best answer by gio

Hi,

 

 

You can set dataset fanout parameter in the navigator panel under advanced.

 

Look in navigator panel where your ACAD writer is, under parameters (green) and then advanced.

 

You can also set fanout on the writer in the workbench itself, but this works on the feature_type.

 

Dataset => ACAD file.

 

Feature_type => Acad layer(s)

 

 

You can link inoutfilenames tof the shapefiles to outputfilenames of the ACAD writer this way.

 

 

Or script or otherwise construct the output dataset fanout (and featuretype if needed)
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • Best Answer
  • November 10, 2014
Hi,

 

 

You can set dataset fanout parameter in the navigator panel under advanced.

 

Look in navigator panel where your ACAD writer is, under parameters (green) and then advanced.

 

You can also set fanout on the writer in the workbench itself, but this works on the feature_type.

 

Dataset => ACAD file.

 

Feature_type => Acad layer(s)

 

 

You can link inoutfilenames tof the shapefiles to outputfilenames of the ACAD writer this way.

 

 

Or script or otherwise construct the output dataset fanout (and featuretype if needed)

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 10, 2014

If you expose fme_feature_type on the shapereader, you can set autocad fanout to this attribute. That wil give you one dwg for each shapefile.

 

 

..and more is possible..etc.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings