def append(self, value):
    'Add `value` to end of self, which is an array\n\n        Arguments:\n            value (object): If value, create a new entry and append it.\n                If cmdx.Plug, create a new entry and connect it.\n\n        Example:\n            >>> _ = cmds.file(new=True, force=True)\n            >>> node = createNode("transform", name="appendTest")\n            >>> node["myArray"] = Double(array=True)\n            >>> node["myArray"].append(1.0)\n            >>> node["notArray"] = Double()\n            >>> node["notArray"].append(2.0)\n            Traceback (most recent call last):\n            ...\n            TypeError: "|appendTest.notArray" was not an array attribute\n\n        '
    if (not self._mplug.isArray):
        raise TypeError(('"%s" was not an array attribute' % self.path()))
    index = self.count()
    if isinstance(value, Plug):
        (self[index] << value)
    else:
        self[index].write(value)
Add `value` to end of self, which is an array

Arguments:
    value (object): If value, create a new entry and append it.
        If cmdx.Plug, create a new entry and connect it.

Example:
    >>> _ = cmds.file(new=True, force=True)
    >>> node = createNode("transform", name="appendTest")
    >>> node["myArray"] = Double(array=True)
    >>> node["myArray"].append(1.0)
    >>> node["notArray"] = Double()
    >>> node["notArray"].append(2.0)
    Traceback (most recent call last):
    ...
    TypeError: "|appendTest.notArray" was not an array attribute
def append(self, value):
    'Add `value` to end of self, which is an array\n\n        Arguments:\n            value (object): If value, create a new entry and append it.\n                If cmdx.Plug, create a new entry and connect it.\n\n        Example:\n            >>> _ = cmds.file(new=True, force=True)\n            >>> node = createNode("transform", name="appendTest")\n            >>> node["myArray"] = Double(array=True)\n            >>> node["myArray"].append(1.0)\n            >>> node["notArray"] = Double()\n            >>> node["notArray"].append(2.0)\n            Traceback (most recent call last):\n            ...\n            TypeError: "|appendTest.notArray" was not an array attribute\n\n        '
    if (not self._mplug.isArray):
        raise TypeError(('"%s" was not an array attribute' % self.path()))
    index = self.count()
    if isinstance(value, Plug):
        (self[index] << value)
    else:
        self[index].write(value)