This method can be used to detach the specified object from the specified family.
After this method returns the specified object will change its state from attached
to detached. This means that you could now attach it to another family using a
function like Menu.Insert or you could free it using mui.FreeObject().