Thanks to Jason Birch and Dale Lutz, the solution turned out to be fairly trivial. For each layer, I set the autocad_layer attribute to the desired name and did a fanout based on autocad_layer. The DWG writer then produced only the layers with data.
Again, thanks Bob L. Robert Rice P2 Energy Solutions 1625 Broadway Suite 500 Denver Co 80202 Office: 720-493-6663 Fax: 720-493-6681 -----Original Message----- From: Jason Birch [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 9:48 AM To: [email protected] Cc: Rice, Bob Subject: RE: [fme] DWG Writer Are you using Workbench? Would it be feasible for you to rework your workspace to use a feature fanout on the output datasource for defining the layers? I am pretty sure that if you do it this way FME only creates layers for the elements that actually make it through to the end of the process. Jason -----Original Message----- From: Rice, Bob [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 06:44 To: [EMAIL PROTECTED] Subject: SUSPECT:: [fme] DWG Writer Follow Listers, I have an odd problem with the DWG writer. First some background. I have 14 layers of survey data. Most of the layers are sparse datasets (nature of the survey). My users have the ability to select any area of interest (AOI) for output to the DWG writer. The problem - When the AOI does not include any data from a layer, the DWG writer still produces the layer as empty, i.e. the layer is defined but there is no data in the layer. The question - is there anyway to stop the DWG writer from outputting these empty layers? Thanks for any insight. Bob Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
