I want use DynaWorks to get elements ID from navisworks selectsets

I want to use DynaWorks to get elements ID from Navisworks Selectionsets. But when I run this script I got an ID list, but this ID list is not elements id in Navisworks displayed.

I do not know where is wrong, I think I need some help~

Thanks in advance.