Find Center Point of SOP object

Hello.

Maybe this has been answered before, but i can’t seem to find it.

How do I get the very center coordinate of 3d object?

Ex: I have a multi-part 3d model (12 obj’s), and I would like to add 3d floating numbers to these parts next to them (for visualization). I’m trying to find a way to calculate, from the obj’s geometry its center “mass” point. Or even the center of the longest face of an object.

op(“mySOP“).center will give you the center of the bounding box (expressed as a position) , perhaps that is already enough for your visualization goal?

Yess! Thank you again. This is exactly what I needed!