#NEWLINE# @ classmethod #NEWLINE# def restore_rows( cls , parent ) : #NEWLINE# #INDENT# '\n        :returns: list of SelectionRows\n        ' #NEWLINE# rows = [ ] #NEWLINE# for node in pm . ls ( type = pm . nt . ObjectSet ) : #NEWLINE# #INDENT# if node . hasAttr ( 'selectionManagerData' ) : #NEWLINE# #INDENT# sel_set = SelectionSet ( ) #NEWLINE# sel_set . restore ( node ) #NEWLINE# row = SelectionRow ( parent , sel_set ) #NEWLINE# rows . append ( row ) #NEWLINE# #UNINDENT# #UNINDENT# return parent