RVTDocs.com

CopyPasteOptions.SetDuplicateTypeNamesHandler

Method
Description:
Sets a custom duplicate type names handler. If this value is not set, the default handler is used. By default, Revit displays a modal dialog with options to either copy new types only, or cancel the operation.
Parameters
Parameter Type Description
handler IDuplicateTypeNamesHandler The duplicate type names handler.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null