Set Rotation not at origin point of the element

Hi everyone, so basically i wanted to rotate element based origin point itself (element location). I don’t know if this is a problem with the family file or Dynamo nodes.

As you can see the video, which i was trying to do is rotating the family at the origin point of the element. I compared the 2 elements left and right, the right element works well and rotates exactly on the element location point

the left element does not rotate on the origin axis (which was element location point) even though i’ve already set the origin planes it center and tick defines origin at the both left/right and front/back planes

This is the family file:
Safety Net Screen.rfa (732 KB)

Thanks in advance!

You’ve used the origin node which gives you (0, 0, 0) .
If you want element location as the rotation point you need to extract this then feed that into your rotate node.

ah, the origin nodes its just for placing the element, which the left elements the one thats i share .rfa files

Then i used familyinstance.setrotation nodes the input its just the family instance and the degree itself.

I thought the axis rotation that degree use is the origin point of the family itself. but in this case ive showed that the nodes not really use the origin point as the axis. (not applicable to every family)

As you can see the video, the last nodes FamilyInstance.ReferenceOrigin showed that the left elements, X point is moving.

other wise the right elements X point is not moving at all because its rotating at origin point of the element itself

Hi @najwan.joan.sv, the family is not showing the proper origin point as the center. You need to move all elements, including dimensions and reference planes, within the family document 3000 mm to the left.