Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] mdlLevelIterator_setIterateType()

$
0
0

While writing a function to delete unused levels in a model, I called mdlLevelIterator_setIterateType(), passing LEVEL_ITERATE_TYPE_UNUSED_LEVELS, and the resulting iterator only contained USED levels. I changed the type to LEVEL_ITERATE_TYPE_ALL_LEVELS and got, as expected, all levels. Finally, I changed it to LEVEL_ITERATE_TYPE_USED_LEVELS and got the same as the first try - all used levels. I checked the enum values, and LEVEL_ITERATE_TYPE_UNUSED_LEVELS and LEVEL_ITERATE_TYPE_USED_LEVELS have different values, but they both returned the same results...


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>