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

Returns the type of duplicate record cloning for IdMapping element.

duplicateRecordCloning() returns one of the of the following: 

 

Name 
Value 
Description 
kDrcNotApplicable 
Not applicable to the element. 
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.