parameters: (self, partName = None)
return_statement: return bundles
docstring: Returns a list of PartBundle objects for the entire Actor,
          or for the indicated part only.
docstring_summary: Returns a list of PartBundle objects for the entire Actor,
          or for the indicated part only.
docstring_tokens: Returns a list of PartBundle objects for the entire Actor or for the indicated part only .
function: def getPartBundles(self, partName = None):
          """ Returns a list of PartBundle objects for the entire Actor,
          or for the indicated part only. """
  
          bundles = []
  
          for lodName, partBundleDict in self.__partBundleDict.items():
              if partName is None:
                  for partDef in partBundleDict.values():
                      bundles.append(partDef.getBundle())
  
              else:
                  subpartDef = self.__subpartDict.get(partName, Actor.SubpartDef(partName))
                  partDef = partBundleDict.get(subpartDef.truePartName)
                  if partDef is not None:
                      bundles.append(partDef.getBundle())
                  else:
                      Actor.notify.warning("Couldn't find part: %s" % (partName))
  
          return bundles
function_tokens: def getPartBundles ( self , partName = None ) : bundles = [ ] for lodName , partBundleDict in self . __partBundleDict . items ( ) : if partName is None : for partDef in partBundleDict . values ( ) : bundles . append ( partDef . getBundle ( ) ) else : subpartDef = self . __subpartDict . get ( partName , Actor . SubpartDef ( partName ) ) partDef = partBundleDict . get ( subpartDef . truePartName ) if partDef is not None : bundles . append ( partDef . getBundle ( ) ) else : Actor . notify . warning ( "Couldn't find part: %s" % ( partName ) ) return bundles