set_object_attributes

compas_rhino.utilities.set_object_attributes(guid, attr)[source]

Set the custom attributes of a Rhino object.

Parameters
  • guid (System.Guid) – Object identifier.

  • attr (dict[str, Any]) – A dictionary of attributes.

Returns

None

Raises

Exception – If the operation fails.