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

RE: [CONNECT C++] Programatically add ItemTypes/PropertyDefinitions to an Item Library

$
0
0
FYI, more generally - you never edit a persistent schema directly.
You must create a copy of it, apply your modifications, and then use DgnECManager::UpdateSchema() - with the caveat that unless you take care of remapping existing ECInstances to match the new schema, any existing ECInstances will remain unmodified (and potentially unreadable, if e.g. you deleted their ECClass).
ItemTypeLibrary takes care of all of this for you.

Viewing all articles
Browse latest Browse all 7260

Trending Articles



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