Skip to main content
Question

Replace selected DWG Layer(s) & preserve other layers in template

  • August 6, 2024
  • 1 reply
  • 27 views

lancec
Contributor
Forum|alt.badge.img+4

Hello,

 

A related question & answer to mine is here:


However, in my case, the layer being updated will likely contain features already.  In the DWG Writer, selecting to “Preserve Template File Model Space Data” will add data to the layer being updated, but of course will also preserve the existing features already present on that layer.  This essentially is just adding more data to the desired layer (resulting in many duplicate features) - which I don’t want.  I want to replace the features on that layer and preserve the features on the other layers.  Because I want to preserve other layers as they exist already in the template, I can’t select to not “Preserve Template File Model Space Data” in the DWG Writer.

What would be the best way to essentially replace the existing features in selected DWG layers?

BTW, these layers are coming from an Enterprise Geodatabase.

1 reply

burgasser
Contributor
Forum|alt.badge.img+4
  • Contributor
  • August 6, 2024

Here’s one option:

Instead of preserving template file model space data, you could add a reader for the drawing file to be updated.  Include all layers except the one that you want to replace.  Instead of preserving, you would be rewriting the unedited layers.


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