CopyElements Method (Document, ICollection(ElementId), Document, Transform, CopyPasteOptions)


Element Transform Utils Copy Elements(Document, ICollection Element Id , Document, Transform, Copy Paste Options) Method


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static ICollection<ElementId> CopyElements(
	Document sourceDocument,
	ICollection<ElementId> elementsToCopy,
	Document destinationDocument,
	Transform transform,
	CopyPasteOptions options
)

Parameters

sourceDocument Document
elementsToCopy ICollection ElementId
destinationDocument Document
transform Transform
options CopyPasteOptions

Return Value

ICollection ElementId
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →