Share

DuplicateRecordCloning

C++

enum DuplicateRecordCloning {
  kDrcNotApplicable = 0,
  kDrcIgnore = 1,
  kDrcReplace = 2,
  kDrcXrefMangleName = 3,
  kDrcMangleName = 4,
  kDrcUnmangleName = 5
};

File

acdb.h

Members

Members Description
kDrcIgnore If a duplicate is found, ignore the clone, and continue to use the existing record in the destination database. This is how the INSERT command and AcDbDatabase::insert() operate.
kDrcReplace If a duplicate is found, replace it with the cloned record.
kDrcXrefMangleName Mangle all the incoming record names using $0$
kDrcMangleName Mangle all the incoming record names using $0$
kDrcUnmangleName Primarily used by RefEdit when it checks records back into the origin database. Any mangling done by kDrcMangleName is undone, and then it defaults to kDrcIgnore. In other words, if a duplicate is found after the mangling is removed, AutoCAD continues to use the existing record, and ignores the cloned one.

Description

Description

Was this information helpful?