[CONNECT Update 16 C++] DgnLink types

Here's the DgnLink class hierarchy found in the MicroStationAPI help doc...

DgnLink Hierarchy

When one uses the Add Link tool in MicroStation, three choices are offered...

Add Link

URL and From File are covered by the types listed above (DgnURLLink and DgnFileLink).  But I can't see which class should be used for Key-in.  Any suggestions?

Parents Reply
  • You have to read documentation right and completely

    Well, yes...

    The options for a URL DgnLink are specified by a schema...

    enum Schema
    {
    SCHEMA_unrecognized = -1, 
    SCHEMA_http, 
    SCHEMA_https, 
    SCHEMA_ftp, 
    SCHEMA_mailto, 
    SCHEMA_MSTN_keyin, 
    SCHEMA_file 
    };

    There is a method to read the schema of a DgnURLLink, but no method or constructor to set the schema.  There are undocumented handlers for DgnLinks, but no clue about how they should be used.

     
    Regards, Jon Summers
    LA Solutions

Children