check imaris connection and type of selected object