[MSCE U8 c++] how to associate one element with another in different DGN model under same file?

and could not find the dependency API you mentioned

Why you want to use DependencyAPI? It is very low API, where it is not expected it is used by 3rd party developer (even when it is possible). There are other tools / options / classes available, but what is the best can be discussed only when required functionality is known.

Refers to this reply from Jan. What are the currently used api and classes to associate the elements?

Parents
  • Hi amender,

    What are the currently used api and classes to associate the elements?

    The problem is that you do not bother to answer my question why do you want to associate element :-(

    There are different ways, how to "associate" elements (to establish an association), providing different set of features.

    and could not find dependency API

    Did you try to search SDK documentation for "dependency" keyword?

    I received many results, including Element Dependencies chapter, with further links to several C APIs and DependencyManager, but the search also found Relationship Manager chapter (which is probably recommended place, where to start, because it provides more complex functionality than low level DependencyManager).

    to associate one element with another in different DGN model under same file?

    In the context of the same DGN file, to remember a combination of element ID and model ID is enough.

    [MSCE U8 c++]

    What is the reason so old MicroStation version is used? Update 8 was released 3 years ago and from user's perspective, anything older than let's say Update 14 is extremely buggy and slow. The latest Update 16.2 looks quite fine and last few releases bring also substantial performance optimization.

    Regards,

      Jan

Reply
  • Hi amender,

    What are the currently used api and classes to associate the elements?

    The problem is that you do not bother to answer my question why do you want to associate element :-(

    There are different ways, how to "associate" elements (to establish an association), providing different set of features.

    and could not find dependency API

    Did you try to search SDK documentation for "dependency" keyword?

    I received many results, including Element Dependencies chapter, with further links to several C APIs and DependencyManager, but the search also found Relationship Manager chapter (which is probably recommended place, where to start, because it provides more complex functionality than low level DependencyManager).

    to associate one element with another in different DGN model under same file?

    In the context of the same DGN file, to remember a combination of element ID and model ID is enough.

    [MSCE U8 c++]

    What is the reason so old MicroStation version is used? Update 8 was released 3 years ago and from user's perspective, anything older than let's say Update 14 is extremely buggy and slow. The latest Update 16.2 looks quite fine and last few releases bring also substantial performance optimization.

    Regards,

      Jan

Children