::hwat::utils::DuplicateElements

Duplicates the given elements.

Syntax

::hwat::utils::DuplicateElements {elementids} current

Arguments

Elementids
A Tcl list of IDs of elements to be duplicated.
Current
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
Optional.

Returns

Success
1
Failure
{}

Example

::hwat::utils::DuplicateElements [list 101 102 103 104] 0 .

Comments

Must set the current component collector before calling.