CopyPasteOptions
Description:
Settings to control the behavior of a copy-paste operation.
Settings to control the behavior of a copy-paste operation.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.CopyPasteOptions
System.Object
Autodesk.Revit.DB.CopyPasteOptions
public class CopyPasteOptions : IDisposable
| Name | Return Type | Description |
|---|---|---|
| CopyPasteOptions() | None | Creates a new instance of a CopyPasteOptions object. |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetDuplicateTypeNamesHandler() | IDuplicateTypeNamesHandler | Returns current duplicate type names handler or if none is set. |
| SetDuplicateTypeNamesHandler(IDuplicateTypeNamesHandler) | None | 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. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |