@protected
def dagPath(self):
    'Return a om.MDagPath for this node\n\n        Example:\n            >>> _ = cmds.file(new=True, force=True)\n            >>> parent = createNode("transform", name="Parent")\n            >>> child = createNode("transform", name="Child", parent=parent)\n            >>> path = child.dagPath()\n            >>> str(path)\n            \'Child\'\n            >>> str(path.pop())\n            \'Parent\'\n\n        '
    return om.MDagPath.getAPathTo(self._mobject)
Return a om.MDagPath for this node

Example:
    >>> _ = cmds.file(new=True, force=True)
    >>> parent = createNode("transform", name="Parent")
    >>> child = createNode("transform", name="Child", parent=parent)
    >>> path = child.dagPath()
    >>> str(path)
    'Child'
    >>> str(path.pop())
    'Parent'
@protected
def dagPath(self):
    'Return a om.MDagPath for this node\n\n        Example:\n            >>> _ = cmds.file(new=True, force=True)\n            >>> parent = createNode("transform", name="Parent")\n            >>> child = createNode("transform", name="Child", parent=parent)\n            >>> path = child.dagPath()\n            >>> str(path)\n            \'Child\'\n            >>> str(path.pop())\n            \'Parent\'\n\n        '
    return om.MDagPath.getAPathTo(self._mobject)