def get_scenenode(self, nodes):
        """Get the scenenode in the given nodes

        There should only be one scenenode in nodes!

        :param nodes:
        :type nodes:
        :returns: None
        :rtype: None
        :raises: AssertionError
        """
        scenenodes = cmds.ls(nodes, type='jb_sceneNode')
        assert scenenodes, "Found no scene nodes!"
        return sorted(scenenodes)[0]
def get_scenenode ( self , nodes ) : scenenodes = cmds . ls ( nodes , type = 'jb_sceneNode' ) assert scenenodes , "Found no scene nodes!" return sorted ( scenenodes ) [ 0 ]
Get the scenenode in the given nodes

        There should only be one scenenode in nodes!

        :param nodes:
        :type nodes:
        :returns: None
        :rtype: None
        :raises: AssertionError