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

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

$
0
0

Hi,

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

DgnLinkManager::WriteLinkTree(*linkTree);

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

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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