::hwat::utils::DuplicateElements - Duplicates the given elements.
::hwat::utils::DuplicateElements {elementids} current
Elementids |
A Tcl list of IDs of elements to be duplicated. |
Current |
[optional] If 1, puts the new elements in the current component. If 0, puts the duplicated elements in the same components as the original. (Default = 1). |
1 if successful, {} otherwise.
::hwat::utils::DuplicateElements [list 101 102 103 104] 0 .
Must set the current component collector before calling.