def setAttr(attr, value, type=None):
    'Write `value` to `attr`\n\n    Arguments:\n        attr (Plug): Existing attribute to edit\n        value (any): Value to write\n        type (int, optional): Unused\n\n    Example:\n        >>> node = createNode("transform")\n        >>> setAttr(node + ".translateX", 5.0)\n\n    '
    attr.write(value)
Write `value` to `attr`

Arguments:
    attr (Plug): Existing attribute to edit
    value (any): Value to write
    type (int, optional): Unused

Example:
    >>> node = createNode("transform")
    >>> setAttr(node + ".translateX", 5.0)
def setAttr(attr, value, type=None):
    'Write `value` to `attr`\n\n    Arguments:\n        attr (Plug): Existing attribute to edit\n        value (any): Value to write\n        type (int, optional): Unused\n\n    Example:\n        >>> node = createNode("transform")\n        >>> setAttr(node + ".translateX", 5.0)\n\n    '
    attr.write(value)