API Reference > OdDb Classes > OdDbIdMapping Class > OdDbIdMapping Methods > OdDbIdMapping::duplicateRecordCloning Method
OdDbIdMapping::duplicateRecordCloning Method
Syntax
C++
virtual OdDb::DuplicateRecordCloning duplicateRecordCloning() const = 0;

Returns the type of duplicate record cloning for IdMapping object.

duplicateRecordCloning() returns one of the of the following: 

 

Name 
Value 
Description 
kDrcNotApplicable 
Not applicable to the object. 
kDrcIgnore 
If a duplicate record exists, use the existing record in the database, and ignore the clone. 
kDrcReplace 
If a duplicate record exists, replace it with the cloned record. 
kDrcXrefMangleName 
Incoming record names are mangled with $0$ 
kDrcMangleName 
Incoming record names are mangled with $0$ 
kDrcUnmangleName 
Unmangle the names mangled by kDrcMangleName, then default to kDrcIgnore. Typically used by RefEdit when checking records into the original database. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.