Draftsight VBA get slected objects

Hi,

I am getting nothing from selected objects. The selected object count is right but the objects are "nothing". What is wrong?