I am posting here because I need some help.
The firm I work at, we create a lot of as-built drawings/models. and we have decided to go from wall/ceiling/floor/etc. hosted families to face-based. We are now faced with the task of updating our models.
I thought I could use dynamo to quickly replace all of the floor-hosted families with the face-based ones, but it is proving difficult. I am able to pull all of the existing elements (floor-based) by their points (X,Y,Z) but when I go to place the new (face-based) families by points, it places them correctly by their X,Y but their Z axis always comes in at 0.
I have tried FamilyInstance.ByPoint and FamiliyInstance.ByCoordinates to no avail, and also Springs.HostedInstance.ByPoints. I’m guessing it is something to do with the family wanting to inserted at a vertical face, and when the floor isn’t vertical, it just disregards the Z-value and it comes in at (X,Y,0).
Has anyone had any issues with this or any solutions?
Thank you for reading this. Any help / ideas would be appreciated.