parameters: (self, side_set_id, new_side_set_id)
docstring: Change a side set id or name.
  
          This function can be used to change either the side set id or name.
          If 'new_side_set_id' is an integer, it will change the id. If it is a
          string, it will change the name.
  
          Example:
          >>> model.rename_side_set(1, 100)
          >>> model.rename_side_set(1, 'surface_1')
docstring_summary: Change a side set id or name.
docstring_tokens: Change a side set id or name .
function: def rename_side_set(self, side_set_id, new_side_set_id):
          """
          Change a side set id or name.
  
          This function can be used to change either the side set id or name.
          If 'new_side_set_id' is an integer, it will change the id. If it is a
          string, it will change the name.
  
          Example:
          >>> model.rename_side_set(1, 100)
          >>> model.rename_side_set(1, 'surface_1')
  
          """
          [side_set_id] = self._format_side_set_id_list(
              [side_set_id],
              single=True)
          # if we're just changing the name:
          if type(new_side_set_id) is str:
              # if the same name already, just exit
              if self.get_side_set_name(side_set_id) == new_side_set_id:
                  return
              # if the name already exists, issue a warning
              if self.side_set_exists(new_side_set_id):
                  self._exists_warning('"' + new_side_set_id + '"',
                                       'side set')
              # rename it
              self.side_sets[side_set_id][0] = new_side_set_id
              return
          self._rename_entity('side set',
                              side_set_id,
                              new_side_set_id,
                              self.get_side_set_ids,
                              self.side_sets)
function_tokens: def rename_side_set ( self , side_set_id , new_side_set_id ) : [ side_set_id ] = self . _format_side_set_id_list ( [ side_set_id ] , single = True ) # if we're just changing the name: if type ( new_side_set_id ) is str : # if the same name already, just exit if self . get_side_set_name ( side_set_id ) == new_side_set_id : return # if the name already exists, issue a warning if self . side_set_exists ( new_side_set_id ) : self . _exists_warning ( '"' + new_side_set_id + '"' , 'side set' ) # rename it self . side_sets [ side_set_id ] [ 0 ] = new_side_set_id return self . _rename_entity ( 'side set' , side_set_id , new_side_set_id , self . get_side_set_ids , self . side_sets )