Skip to main content
Question

Whriter entity issues in a dwg file under FME 2018


Hello, I have an input and output dwg file, can you explain to me how to have the same number of entities in Reader and Whriter? Because I get my total of entities (6364 entities) in Writer for each layer while I would like the same number of entities in each layer in Writer as in Reader.

4 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • April 13, 2020

Hi @lucas,

Please try adding a FeatureTypeFilter transformer to route the features to the appropriate output port.


  • Author
  • April 14, 2020
daveatsafe wrote:

Hi @lucas,

Please try adding a FeatureTypeFilter transformer to route the features to the appropriate output port.

Thank you very much it works correctly nevertheless it caused a problem that I did not have before, that created several entities as on the attached photos: layer without the featuretypefilter: Picture7.PNG

 

with the featuretypefilter:Picture6.PNG

 

Do you have a solution to this problem? the entities added are of the same layer: E_PRO_SUPPORT

Here is my FME file : FME_Transformation.fmw


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • April 14, 2020
lucas wrote:

Thank you very much it works correctly nevertheless it caused a problem that I did not have before, that created several entities as on the attached photos: layer without the featuretypefilter: Picture7.PNG

 

with the featuretypefilter:Picture6.PNG

 

Do you have a solution to this problem? the entities added are of the same layer: E_PRO_SUPPORT

Here is my FME file : FME_Transformation.fmw

Hi @lucas,

Please try setting the reader parameter 'Explode Blocks' to No.


  • Author
  • April 14, 2020
daveatsafe wrote:

Hi @lucas,

Please try setting the reader parameter 'Explode Blocks' to No.

Thank you very much you are a genius it works niquel! Sorry I'm a beginner.

 

Would you be how to merge the linear array of a dwg file to form a single polyline. I had thought of NetworkTopologyCalculator I do not know what you think?

 

After having combined (merge) the linear network all together, I have to put it in the same direction and after that I cut it at the points that belong to the layers of my dwg file that I specify. I would tend to use Linecombiner or LineExtender. If you have an idea of how to proceed I am a taker? In all thank you again for your help

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