Browse By Tags

  • [CONNECT Update 16 C++] TextTable Internal Structure: Cell Text

    If I analyse a TextTable programmatically I can see rows, columns and cells. The TextTableCell class hosts whatever text a user provides and provides method GetTextBlock() . Suppose I want to add a DgnLink to a cell in a TextTable . DgnLinks are attached…
  • Example DgnLink Project

    I've written an example C++ app that performs CRUD operations on DgnLinks . The example includes source code.
  • [CONNECT Update 16.2 C++] Problem creating DgnLink for a URL

    Following the examples posted on this Forum, I am experimenting with the DgnLink C++ API. I can successfully create a File DgnLink and a Folder DgnLink . For example, this is working code (error-catching omitted) … template<> bool CreateDgnLink<DgnFolderLinkP…
  • [CONNECT Update 16 C++] Delete DgnLink

    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…
  • [CONNECT Update 16 C++] DgnLink Handlers

    The MicroStationAPI documentation is silent on the process used to create a DgnLink . Example ..\SDK\examples\Miscellaneous\validateSheetLinks shows how to read DgnLInks , but not how to create, edit or delete one. I suspect that the answer lies in…
  • [CONNECT Update 16 C++] DgnLink types

    Here's the DgnLink class hierarchy found in the MicroStationAPI help doc... When one uses the Add Link tool in MicroStation, three choices are offered... URL and From File are covered by the types listed above ( DgnURLLink and DgnFileLink ). But…
  • [CONNECT Update 16] URL Link name and address

    I've added a URL link to a DGN element. The link is functional, but I'm puzzled about the URL link Link Name and Address . The screenshot below shows MicroStation's Properties of the DGN element having a DgnLink that stores a URL... The HTTP Address…