Hi All,
The Join state and View state do not match in the document.
I used document.Regenerate() or uiDocumnet.RefreshActiveView(), but it is still the same.
The wall with the window and door on the left is not joined to the host wall, but the window and door are visible.
The wall with the central window is joined to the host wall, but the window is not visible.
Only the right wall is returning the correct View.
The correct view is formed only when I move the related wall directly in the Revit program.
Is this a bug or is there another solution?