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

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

$
0
0

[quote user="Kari Heinola"]mdlLevel_isValidByCode(LEVEL_LIBRARY_MODELREF, value)[/quote]

I believe that, in V8iLEVEL_LIBRARY_MODELREF is a macro defined to be mdlLevelLibrary_getModelRef().  That function doesn't exist in CONNECT.

You'll have to refactor your logic.  I see that level libraries are represented by a LevelLibraryRef rather than a plain old DgnModelRef. Function mdlLevel_getLibraryRef() may be useful: see header Mstn/MdlApi/LevelTable.fdf.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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