[MStn CE U16 C++] Bug? It's possible to create DgnLink on locked element?


I am not sure whether it should be recognized as bug, but at least, I am surprised, because I did not expect that ;-)

Normally (using GUI), it's not possible to create / modify / remove DgnLinks, when an element is locked.

But, using API, it can be done without any problem, no exception or warning is reported that data attached to the element is to be changed. At least, I would expect, that

DgnLinkManager::ReadLinkTree(*treeSpecPtr, true);

returns nullptr when no link exists yet on element and should be created a new one. Or, alternatively, something will be reported by


Is it WAD and DgnLinks structure can be created regardless it's locked (read-only) or not?

With regards,