How to rotate geometry around its own axis

i have a an irregular closed curve and I simply want to rotate it around its center point. Revit has no trouble finding such point but with dynamo I’m struggling

Hi @o.sayed and welcome!

Can you show us what you’ve got in dynamo so far?

Try this:

what is this W bounding box midpoint node? cant seem to find it… maybe because i dont know what that first letter is.

Thanks anyway i found that u made it and got it