The MicroStationAPI document says this about Relationships: A relationship handler major ID must be a value allocated from the XAttributeHandlerMajorIDs value space. Edit msdefs.h to allocate an XAttributeHandlerMajorID.
However, file msdefs.h does not exist in the SDK (Update 11). Plus, I don't like the recommendation to edit a delivered header file, especially when that is a file that does not exist. How does one obtain an XAttributeHandlerMajorID?
msdefs.h
XAttributeHandlerMajorID
Jon, what are you trying to accomplish? If you want to create ECRelationships, you do not need an XAttributeHandler ID.
Paul Connelly said:What are you trying to accomplish?
The MicroStationAPI document tells us that the Relationship Manager is a 21st century replacement for the Dependency Manager. I have existing dependencies (i.e. using the Dependency Manager) and am investigating whether to move to the Relationship Manager for future development.
My question arises because the BDN is responsible for assigning third-party application IDs and I speculate whether that applies to the Relationship Manager.
Paul Connelly said:If you want to create ECRelationships
This is not an ECRelationship.
Regards, Jon Summers LA Solutions
I guess I'm living in a previous century then - I have never heard of this relationship manager thing.
Yes, BDN allocates handler IDs.
Paul Connelly said:I have never heard of this relationship manager thing
It's hidden in the AnimCore domain.
Relationship Manager is designed to handle networks of dependencies. The Relationship Manager goes a step beyond MicroStation Dependency Manager. Relationship Manager ensures that a relationship's handler is notified when any of its inputs changes and allows the handler to change its outputs. The Relationship Manager guarantees that handlers are notified in dependency order.