RevitLinkType.GetPhaseMap() keys and values seem backward.

RevitLinkType.GetPhaseMap() keys and values seem backward.

MattKincaid
Advocate Advocate
345 Views
0 Replies
Message 1 of 1

RevitLinkType.GetPhaseMap() keys and values seem backward.

MattKincaid
Advocate
Advocate

We have an Addin that uses the RevitLinkType.GetPhaseMap() method.  Normally it works fine.   

 

But we have a particular Revit project where the dictionary that gets returned seems to have the keys and values transposed.  The documentation states that they first value is the ElementId of a phase in the host document, and the second value is the ElementId of the matching phase in the linked document.  But for this particular Revit project, the opposite seems to be true.  Can't figure out why.  Darnedest thing I ever saw.

0 Likes
346 Views
0 Replies
Replies (0)