In Level Manager, the level properties dialog box has a tab named 'Usage' which contains the detailed count of various type of elements available in that particular level(refer attached screenshot). How to get that element count details using VBA?
Thanks Robert. 'set elemEnum = ActiveModelReference.scan(elemScanCrietria) ' count = ubound(elemEnum.BuildArrayFromContents )+1 But it may be a time consuming during execution, if the element counts are available in terms of lakhs. To avoid that time consuming, I use [VBA Wrapper] mdlLevel_getElementCount which will provide the element count based on level with lesser execution time than scan enumerator. But I need the element count details based on type and level with less execution time. So I try to access the Level Properties - Usage (Since element count details are already exist, it may takes less execution time to retrieve it).