I'm reading a shapefile and want to save it as DWG. All the features are closed polylines, so I'd like to fill them with FME in the same way as "adefillpolyg" does in ACAD. When I use the FeatureColorSetter transformer, I can view the filled polygons in the inspector, but when I save them as DWG, only the outline color is saved. When I use the DWGStyler, I can only change the outlines, which I guess is because there is no DWG-conform "fill" yet. Is it possible to create fills or does this only work on pre-filled polylines?
Solved
How to fill closed polylines in a DWG?
Best answer by fmelizard
If the shape file is a linear one and not an area shape file, then you'll get what you're looking here. If the features think they are lines, we will not fill them in when we write to autocad, even if they begin and end at the same point. Without having your data and double checking, I can't be sure, but I'd wager you should run through the GeometryCoercer to ask it to make an fme_polygon -- it will not change the actual coordinates, but then we really will be thinking we have an area to be filled. I'd do that before the DWGStyler.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.


