Oculus How to drop item with code instead of releasing controller trigger

Can someone show a built in method or way to cleanly cause the controller to drop an item.

The goal is to have two items in the players hands that once combined are dropped even if the player does not let go of the trigger.

Basicly, having items in hands means that object.transform.parent=handcontroller.transform , and releasing it means object.transform.parent = null

Bye.