element.getGroupPorts(groupName)
Returns an array of all ports on the element with the given groupName. If there is no such a port an empty array is returned.