Incorrect "Join" for Steel Beams causing error in analysis model

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I had a problem when importing a model from our Analysis/Design Product using our own Import command and managed to reproduce the issue in the attached Solution.
Basically, in one part of a particular user's model, we have two steel beams joined end-to-end and a third beam attached a small distance away - see Required Model.png.
But because of the order in which the beams are created, Revit decides to join the wrong pair of beams end-to-end and the other beam is not connected - see Wrong Model.png.
Putting aside for a moment the problem of detecting this situation in the middle of the import, I cannot do the obvious and unjoin the wrong beams because they are steel beams, not concrete!
The solution includes some debugging code to detect what elements are at the ends of each beam etc and two experiments to correct the problem.
Experiment 1 - swap the order of elements at the wrong join - did not seem to make any difference.
Experiment 2 - delete one of the beams (order is vital); do a regen; re-create; do another re-gen seemed to work. Just uncomment the code to see.
Obviously, the size of beams affects the joins - so run the command in the attached .rvt file
Anyone got any comments or suggestions?