code: func (obj *GenericObject) ApplyPatches(ctx context.Context, patches []*NxPatch, softPatch bool) error {
  	err := obj.rpc(ctx, "ApplyPatches", nil, patches, softPatch)
  	return err 
  }
docs: // Applies a patch to the properties of an object. Allows an update to some of the properties.
  // It is possible to apply a patch to the properties of a generic object, that is not persistent. Such a patch is called a soft patch.
  // In that case, the result of the operation on the properties (add, remove or delete) is not shown when doing GetProperties , and only a GetLayout call shows the result of the operation.
  // Properties that are not persistent are called soft properties. Once the engine session is over, soft properties are cleared.
  // Soft properties apply only to generic objects.
  //
  // Parameters:
  //
  // ◾ patches     -   Array of patches.
  //
  // ◾ softPatch   -   If set to true, it means that the properties to be applied are not persistent. The patch is a soft patch.
  // The default value is false.
  //