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

[Connect C++] How to check if level code is valid in level library?

$
0
0

I have old code like below to check if level code is valid before using it. As LEVEL_LIBRARY_MODELREF is goner, how should this be handled with Connect?

 if (mdlLevel_isValidByCode(ACTIVEMODEL, value) || 
     mdlLevel_isValidByCode(LEVEL_LIBRARY_MODELREF, value))
  mdlLevel_setActiveByCode(value);





Viewing all articles
Browse latest Browse all 7260

Trending Articles



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