Behavior of ElementTransformUtils.CopyElements when copying an external RVT view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is what I have observed when using ElementTransformUtils.CopyElements when I am about to copy a view from another Revit document to my currently opened Revit document.
1.) Views are collected using FilteredElementCollector from the external document, brought to a window in a list, and collect only selected views.
2.) Per each selected view, get Ids of all elements present (in this case, it is a drafting view), then use CopyElements and intend to copy these elements in a new drafting view from the current document.
3.) All modification processes committed, and application returned Successful.
4.) Nothing has been copied to the new drafting view, but the selected views from the other Revit document were copied into the current document.
Is this really the behavior of this method, or the result when using this method?
Also, is anyone here had a success in using CopyElements and were able to copy elements into a new view?