I am getting the dbid of object and using the dbid I thought I would get the level of object from the properties which is defined as Layer but unfortunately few of my object