I have some small element, that represent IoT sensors in the rooms. I used already script which automatically placed needed sensors in the center of the room from the list of sensors & rooms.
Now I have accurate information of their location in the room (wall, door, etc.)
So I created script where I can semi-automatically place them on the position. I select a room, select the wanted location and then select the sensor element and translate it to that point on the surface. But result looks like this:
What is wrong with this is, that first element is half in the wall and secondly it is rotated incorrectly. It is horizontal instead of vertical. I was researching about rotating families and it seems there is some problem about rotating families in Revit in any wanted orientation.
Does anyone know how to solve this using Dynamo?