April 24, 2024

Revit: Moving a Grid Line with Disjoin Checked (Don't Do It)

Made a discovery today, related to the previous post regarding moving items with Disjoin checked. Once again, I failed to notice that was checked. This time I was experimenting with Copy/Monitor. I set up a structural model with some Grids. I cross-linked the structural and architectural models, and Copy/Monitored the structural grids in the architectural model, from the structural link. Then I moved one of the Grids 2'-0" perpendicular to its length and synchronized the change.

Back in the architectural model, I reloaded the structural link and, as expected, was told that there was a Coordination Review for a link. I ran the Coordination Review for the structural link, and, unexpectedly, was told that an element was deleted (not moved!). This was confusing, because I could see the grid line from the structural link; it was there. I did it all again, with the same results. I decided that since it was after 5:00 pm, I would save my models and try again tomorrow. I went to move the grid in the structrual model back to its original spot so I would be ready to roll tomorrow, when I finally noticed that the Disjoin toggle was checked on the Options bar. Remembering my previous problems with moving Views on a Sheet, I cancelled the command and checked the Revit ID number of the Grid. Then I moved it, with Disjoin still checked, and checked the ID number again. It was different!

So it turned out to be operator error (or, more accurately, operator ignorance), rather than a glaring bug. I am willing to own that; in fact, I am glad that is the case because I can fix operator error/ignorance. And I am glad that I figured the issue out in far less time than the previous one took. I just have to get myself to check the Disjoin toggle whenever I use the Move tool, because Move + Disjoin = Copy + Delete Orginal.

April 17, 2024

Revit: Moving A Legend on a Sheet Deletes the Legend

I was trying to move a Legend on a Revit sheet a precise distance, so I was using the Move tool rather than dragging it and eyeballing the location. Instead of moving the Legend, Revit deleted it, and issued this warning:

There was no second instance of the same Legend. If there were, why delete all of them? Some on-line searching turned up a case where someone had a Section view deleted from a Sheet when they tried to move it. The offered solution was to look at the Options bar after selecting the Move tool and to uncheck the Disjoin toggle if it were checked. It turns out I did have the Disjoin toggle checked, and unchecking it allowed the Legend to be moved as desired, with no deletion and no warning message. I do not understand why having Disjoin checked caused Revit to think there were multiple instances which then needed to be eradicated, but I am glad that I was able to find a way to do what I wanted to do.

April 08, 2024

Revit: Choosing a Maximum Value in a Formula

Nothing earth-shaking here, just recording this so the next time I need to do it, I do not have to put it together from scratch. The formula to get the larger value of two parameters is relatively easy:
if(A > B, A, B)

But if you need to pick the maximum value of three parameters, it gets a little trickier:
if(A > C, if(A > B, A, B), if(B > C, B, C))

Expanding that to the maximum of four values requires something like the following:
if(A > D, if(A > C, if(A > B, A, B), if(B > C, B, C)), if(D > C, if(D > B, D, B), if(B > C, B, C)))

I am hoping I will not ever need to get the maximum of five or more values.