HyperWorks Tools

::hwat::utils::FilterElements

::hwat::utils::FilterElements

Previous topic Next topic No expanding text in this topic  

::hwat::utils::FilterElements

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

NAME

::hwat::utils::FilterElements - Given a list of element IDs and element types, filters and returns only the intersection of the lists.

 

SYNTAX

::hwat::utils::FilterElements n_elemList n_filterList

 

ARGUMENTS

n_elemList

List of elements to check against the filter.

n_filterList

List of element types to filter.

 

RETURNS

List containing the element IDs of the intersection of the two lists.  0 if the intersection is empty (no given element matches any given filter), {} if unsuccessful.

 

EXAMPLE

::hwat::utils::FilterElements [::hwat::utils::GetMarkedEntity elements 2 "all"] [list 103 104]

 

 

See also

Utils Functions