Thanks to a tip from Yongan.Fu we know how to add (attach) a DgnLink to an element...
DgnLinkTreeSpecPtr spec = DgnLinkManager::CreateTreeSpec(eh);
const bool CreateIfUnavailable {true};
DgnLinkTreePtr linkTree = DgnLinkManager::ReadLinkTree(*spec…