View Single Post
Old 05-21-2010, 09:41 AM   #5 (permalink)
NareshN
Super Moderator
 
NareshN's Avatar
 
Join Date: Nov 2006
Posts: 430
NareshN has a spectacular aura aboutNareshN has a spectacular aura aboutNareshN has a spectacular aura about
Default

Richards,

Bug # 6197.

To keep you in the loop the fix in .Net code was not so simple so we deffered it till we had more time to test (next dev cycle).

When cloning blocks we have two options in the .Net API
1. DuplicateRecordCloning.Replace
2. DuplicateRecordCloning.Ignore

We use the first one which is basically a "deep clone" - which means that if the block exists in current drawing it will be replaced completely from source drawing. What this does as a side effect is that it also updates the color from the incoming drawing layer.

The other option (DuplicateRecordCloning.Ignore) fixes your issue - this would clone block if it did not already exist in the current drawing - otherwise not copy it over.

So we are thinking of adding a option to do this with a variable DTReplaceBlocks - possible values 1 and 0. 1 would completely replace the block as we do now and 0 would add block only if it did not exist.

This was not done as it came at the end of the SP2 cycle. We will look at this in the next cycle.
NareshN is offline   Reply With Quote