Hi,
FamilyInstance.SetRotation node rotates family around its insertion point.
It is possible to shift rotation point to the custom place?
I don’t know if there is an easy node for this (Archilab or Genius Loci perhaps?), but you could rotate and then move the family instance into position. Hard part is finding the vector to move by. Something like this should get you started:
- Get any point other than the insertion point from the family.
- Get the insertion point of the family instance
- Get the desired rotation point
- Rotate the family
- Rotate the selected point by the same angle you rotated the family by, about the Z axis with both the insertion point and the desired rotation point.
- Build a vector from the insertion point related point to the desired point related point
- Translate the family instance by the vector.