code: def setParameter(self, objID, param, value):
          
          self._connection._beginMessage(self._cmdSetID, tc.VAR_PARAMETER, objID,
                                         1 + 4 + 1 + 4 + len(param) + 1 + 4 + len(value))
          self._connection._string += struct.pack("!Bi", tc.TYPE_COMPOUND, 2)
          self._connection._packString(param)
          self._connection._packString(value)
          self._connection._sendExact()
docs: setParameter(string, string, string) -> string
  
          Sets the value of the given parameter to value for the given objID