getSimilarElement#

pyCGM2.Utils.utils.getSimilarElement(listData: List)#

Get a similar element from a list. If multiple different elements exist, returns one of them.

Parameters:

listData (List) – The list to extract the similar element from.

Returns:

Element – A similar element from the list.