Element modification
Copying objects
The function CopyElements can be used to copy existing elements. The function needs a list of element adapter as argument.
Tip
The fromPoint argument can be by default set to Point3D(). It becomes relevant only
if the elements need to be rotated. In this case the fromPoint is used as
the rotation center point.
Example
For a complete usage see the example CopyElements located in:
- …\etc\Examples\PythonParts\InteractorExamples\GeneralModification\CopyElements.pyp
- …\etc\PythonPartsExampleScripts\InteractorExamples\GeneralModification\CopyElements.py