parameters: (self, parentName="")
docstring: Make unique names for all the regions in a shape or composite shape.
docstring_summary: Make unique names for all the regions in a shape or composite shape.
docstring_tokens: Make unique names for all the regions in a shape or composite shape .
function: def NameRegions(self, parentName=""):
          """Make unique names for all the regions in a shape or composite shape."""
          n = self.GetNumberOfTextRegions()
          for i in range(n):
              if parentName:
                  buff = parentName+"."+str(i)
              else:
                  buff = str(i)
              self.SetRegionName(buff, i)
  
          for j, child in enumerate(self._children):
              if parentName:
                  buff = parentName+"."+str(j)
              else:
                  buff = str(j)
              child.NameRegions(buff)
function_tokens: def NameRegions ( self , parentName = "" ) : n = self . GetNumberOfTextRegions ( ) for i in range ( n ) : if parentName : buff = parentName + "." + str ( i ) else : buff = str ( i ) self . SetRegionName ( buff , i ) for j , child in enumerate ( self . _children ) : if parentName : buff = parentName + "." + str ( j ) else : buff = str ( j ) child . NameRegions ( buff )