I am trying to move doors in my model based on doors in another model.
The general idea is to grab the origin of my elements and move them to the origin of the other elements.
I’ve tried to move the element by vector, and also by set locaiton., but both of them failed. (I think the host gets lost.)
My next idea was to try and get the vector of the hosting wall, which would also be related to the vector of the hosted element. My questions are:
What does Dynamo recognize as the facing orientation in the family? Is it the normal of the front/back plane?
Is there a way to align vectors? It may be that my input vector is not parallel to the wall vector. Not sure how to best approach this, since I am not often working with vectors in this way.
Is there a way to pull a point onto a line?
Just had an idea…maybe I could split the wall line with the doors and grab the 0.5 parameter on the curves and use that value to move the elements.