The present invention relates to a method, such as a surgical method for assisting a surgeon for placing screws in the spine using a robot attached to a passive structure. The present invention also related to a method, such as a surgical method for assisting a surgeon for removing volumes in the body of a patient using a robot attached to a passive structure and to a device to carry out said methods. The present invention further concerns a device suitable to carry out the methods according to the present invention