parameters: (self, node_set_field_names, node_set_ids='all')
docstring: Delete one or more node set fields.
  
          Examples:
          >>> model.delete_node_set_field('contact_pressure', 1)
docstring_summary: Delete one or more node set fields.
docstring_tokens: Delete one or more node set fields .
function: def delete_node_set_field(self, node_set_field_names, node_set_ids='all'):
          """
          Delete one or more node set fields.
  
          Examples:
          >>> model.delete_node_set_field('contact_pressure', 1)
  
          """
          node_set_ids = self._format_node_set_id_list(node_set_ids)
          node_set_field_names = self._format_id_list(
              node_set_field_names,
              self.get_node_set_field_names(),
              'node set field')
          # for each field
          for name in node_set_field_names:
              any_deleted = False
              # for each node set
              for node_set_id in node_set_ids:
                  fields = self._get_node_set_fields(node_set_id)
                  if name in fields:
                      any_deleted = True
                      del fields[name]
              if not any_deleted:
                  self._warning('Node set field not defined.',
                                'The node set field "%s" was not defined on any '
                                'of the given node sets.  It cannot be '
                                'deleted.' % name)
function_tokens: def delete_node_set_field ( self , node_set_field_names , node_set_ids = 'all' ) : node_set_ids = self . _format_node_set_id_list ( node_set_ids ) node_set_field_names = self . _format_id_list ( node_set_field_names , self . get_node_set_field_names ( ) , 'node set field' ) # for each field for name in node_set_field_names : any_deleted = False # for each node set for node_set_id in node_set_ids : fields = self . _get_node_set_fields ( node_set_id ) if name in fields : any_deleted = True del fields [ name ] if not any_deleted : self . _warning ( 'Node set field not defined.' , 'The node set field "%s" was not defined on any ' 'of the given node sets.  It cannot be ' 'deleted.' % name )