I’m attempting to model door clearances with Dynamo. I am having an issue with setting the correct rotation for my door clearance family that I am placing.
I’m placing a clearance family at the door location point and attempting to rotate with the angle obtained from the door location property so that the width of the clearance matches the width of the door.
I believe I could solve this, and am attempting to now; however, I feel like the solution I reach will be more complicated than it needs to be.
I have run into similar issues with rotation on other occasions. For example when using AngleAboutAxis node and compare a vector to x or y axis I receive an angle that works for some instances, but others I need to modify the angle by adding 45 or 90 to get my desired rotation angle if that makes sense.
I would love to hear how you guys solve issues such as this one.