'Set Preferences: Set the preferences for the current project
Keyword argument of_panel: Name of the preference panel
Keyword argument to: Preferences settings
Keyword argument _attributes: AppleEvent attribute dictionary'

def Set_Preferences(self, _no_object=None, _attributes={}, **_arguments):

    _code = 'MMPR'
    _subcode = 'Pref'
    aetools.keysubst(_arguments, self._argmap_Set_Preferences)
    if (_no_object is not None):
        raise TypeError, 'No    direct    arg    expected'
    (_reply, _arguments, _attributes) = self.send(_code, _subcode, _arguments, _attributes)
    if _arguments.get('errn', 0):
        raise aetools.Error, aetools.decodeerror(_arguments)
    if _arguments.has_key('----'):
        return _arguments['----']
