HyperWorks Tools

::hwat::core::GetElementsByConfig

::hwat::core::GetElementsByConfig

Previous topic Next topic No expanding text in this topic  

::hwat::core::GetElementsByConfig

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

NAME

::hwat::core::GetElementsByConfig - Returns all the elements of a particular configuration.

 

SYNTAX

GetElementsByConfig {elemList} {config}

 

ARGUMENTS

elemList

A Tcl list of element IDs.

config

A Tcl list of config types.

 

RETURNS

A Tcl list of all elements belonging to a particular configuration or {} if there are no elements belonging to any configuration.

For example: {103 {1001 1002 1003} 104 {2003 2004} 55 {0}}

 

EXAMPLE

::hwat::core::GetElementsByConfig [list 1001 1002 1003 2003 2004 2005] [list 103 104]

 

 

See also

Core Functions