code: def set_value_all(self, twig=None, value=None, check_default=False, **kwargs):
          
          if twig is not None and value is None:
              # then try to support value as the first argument if no matches with twigs
              if not isinstance(twig, str):
                  value = twig
                  twig = None
  
              elif not len(self.filter(twig=twig, check_default=check_default, **kwargs)):
                  value = twig
                  twig = None
  
          params = self.filter(twig=twig,
                               check_default=check_default,
                               **kwargs).to_list()
  
          if not kwargs.pop('ignore_none', False) and not len(params):
              raise ValueError("no parameters found")
  
          for param in params:
              if "index" in kwargs.keys():
                  return self.get_parameter(twig=twig,
                                            **kwargs).set_index_value(value=value,
                                                                      **kwargs)
              param.set_value(value=value, **kwargs)
docs: Set the value of all returned :class:`Parameter`s in this ParameterSet.
  
          Any :class:`Parameter` that would be included in the resulting ParameterSet
          from a :func:`filter` call with the same arguments will have
          their value set.
  
          Note: setting the value of a Parameter in a ParameterSet WILL
          change that Parameter across any parent ParameterSets (including
          the :class:`phoebe.frontend.bundle.Bundle`)
  
          :parameter str twig: the twig to search for the parameter
          :parameter value: the value to set.  Provide units, if necessary, by
                  sending a Quantity object (ie 2.4*u.rad)
          :parameter bool check_default: whether to exclude any default values.
                  Defaults to False (unlike all filtering).  Note that this
                  acts on the current ParameterSet so any filtering done before
                  this call will EXCLUDE defaults by default.
          :parameter **kwargs: meta-tags to search