HyperWorks Tools

::hwat::utils::DuplicateElements

::hwat::utils::DuplicateElements

Previous topic Next topic No expanding text in this topic  

::hwat::utils::DuplicateElements

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::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

[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).

 

RETURNS

1 if successful, {} otherwise.

 

EXAMPLE

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

 

Comments

Must set the current component collector before calling.

 

See also

Utils Functions