get_object_attributes_from_name

compas_rhino.objects.get_object_attributes_from_name(guids, prefix=None)[source]

Get attributes from JSON parsable object names.

Parameters:
guidslist[System.Guid]

Object identifiers.

prefixstr, optional

A prefix that should be removed before the name is JSON parsable. For example, in Rhino 6 and above, names can’t start with curly braces (“{“). Therefore, to make the string representation of a dict a valid name it has to be prefixed with something. This prefix can be stripped automatically using this parameter.

Returns:
list[dict[str, Any]]

The attribute dicts of the objects.