Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb::DuplicateRecordCloning Enumeration
Syntax
C++
enum DuplicateRecordCloning { kDrcNotApplicable = 0, kDrcIgnore = 1, kDrcReplace = 2, kDrcXrefMangleName = 3, kDrcMangleName = 4, kDrcUnmangleName = 5, kDrcMax = kDrcUnmangleName };
Members
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*.
kDrcMax
The maximum value of this enum.

The file OdaDefs.h contains const definitions of DuplicateRecordCloning values that do not require the "OdDb::" scope resolution qualifier. They should be used only if there will be no naming conflicts. 

!When changing the enum is necessary to change value tags definitions in DbValueTypes.cpp

File: DbObject.h 

Namespace: OdDb 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.