Skip to main content
Question

Autocad DWG - only create layer if it contains features

  • August 21, 2013
  • 2 replies
  • 31 views

Forum|alt.badge.img
HI

 

 

I have a project that converts a large postgres database to Autocad DWG. When I pass in a bounding box parameter it extracts all the relevant features and translates them into a AutoCAD DWG file with multiple 70+ layers.

 

 

My problem is that every potential layer is produced in the DWG file whether they contain features or not. Is there a way of telling FME to only  create the DWG layers that contain features?

 

 

Thanks,

 

 

Mike

 

 

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.

2 replies

endest
Contributor
Forum|alt.badge.img+1
  • Contributor
  • August 23, 2013
Hi,

 

 

You can set the DWG Writer Parameter - "Purge Unused Objects" to "yes".

mhab
Contributor
Forum|alt.badge.img+10
  • Contributor
  • August 23, 2013
Hello

 

 

I would need this option too !

 

 

Problem: I cannot find this setting in the DXF/DWG writer (FME 2012) anywhere ...

 

 

Is this a new option ?