# How do I get the Translation of an Object?

**URL:** <https://discourse.mcneel.com/t/how-do-i-get-the-translation-of-an-object/191806>\
**Category:** Scripting\
**Tags:** windows, rhinoinside\
**Created:** [September 25, 2024, 9:33am UTC](https://discourse.mcneel.com/t/how-do-i-get-the-translation-of-an-object/191806 "2024-09-25T09:33:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raymond\_Hulha](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/raymond_hulha/32/539635_2.png) [@Raymond\_Hulha](https://discourse.mcneel.com/u/Raymond_Hulha)\
**Post date:** [September 25, 2024, 9:33am UTC](https://discourse.mcneel.com/t/how-do-i-get-the-translation-of-an-object/191806/1 "2024-09-25T09:33:29Z")

</div>

I tried this without success:

```auto
import os
import rhinoinside
try:
    rhinoinside.load()
except:
    pass
import System
import Rhino

file = r'..\3dm_files\a.3dm'

doc = Rhino.RhinoDoc.OpenHeadless(file)
for o in doc.Objects:
    # o == https://developer.rhino3d.com/api/rhinocommon/rhino.docobjects.instanceobject
    if o.Geometry.ObjectType == Rhino.DocObjects.ObjectType.Brep:
        print("Brep")
        print(o.Geometry.Transform.Translation)
doc.Dispose()

```

---

<div class="post-metadata">

**Author:** ![nathanletwory](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/nathanletwory/32/482880_2.png) [@nathanletwory](https://discourse.mcneel.com/u/nathanletwory)\
**Post date:** [September 25, 2024, 12:14pm UTC](https://discourse.mcneel.com/t/how-do-i-get-the-translation-of-an-object/191806/2 "2024-09-25T12:14:05Z")

</div>

Rhino objects do not record the transformation that get their geometry where its at. All geometry is in world space with all transformations fully applied.

The exception is block instances, which have an InstanceTransform
