Query an object location

I’m using Python for Rhino, and I was wondering if there is a way to query a position of an object using its name or GUID. Thanks

Certainly. However, as Rhino objects do not have a defined position point associated with them, you will need to decide what criteria of the object’s geometry is considered its “position”. Generally that’s the center of the bounding box, which you can get in various ways - if you are using rhinoscriptsyntax, you can just use

#bb will be the objects bounding box, which returns 8 corner points
#then average two corner points

HTH, --Mitch

Thank you @Helvetosaur.