group_keys_by_attribute

compas_fea2.utilities.group_keys_by_attribute(adict, name, tol='3f')[source]

Make group keys by shared attribute values.

Parameters:
  • adict (dic) – Attribute dictionary.

  • name (str) – Attribute of interest.

  • tol (float) – Float tolerance.

Returns:

dic – Group dictionary.