SetUserText

SetUserText(object_id, key, value=None, attach_to_geometry=False)

Sets or removes user text stored on an object. :param object_id = the object’s identifier: :param key = the key name to set: :param value[opt] = the string value to set. If omitted, the key/value pair: specified by key will be deleted :param attach_to_geometry[opt] = location on the object to store the user text:

returns:True or False indicating success or failure