# get\_Geometry function

**URL:** <https://forum.dynamobim.com/t/get-geometry-function/76843>\
**Category:** Developers\
**Tags:** python\
**Created:** [May 24, 2022, 7:29am UTC](https://forum.dynamobim.com/t/get-geometry-function/76843 "2022-05-24T07:29:07Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![c.poupin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/c.poupin/32/89152_2.png) [@c.poupin](https://forum.dynamobim.com/u/c.poupin)\
**Post date:** [May 24, 2022, 8:49am UTC](https://forum.dynamobim.com/t/get-geometry-function/76843/7 "2022-05-24T08:49:49Z")

</div>

Hello,  
The methods prefixed by a lowercase `get_` are automatically generated getter methods (properties).  
.NET properties are backed by a pair of .NET methods for reading and writing the property.  
The C# compiler automatically names them as `get_<PropertyName>` and `set_<PropertyName>`

So, in Python (with .Net), a property that has a parameter can be written like this (2 ways)

```auto
opt = Options()
geo_set = element.get_Geometry(opt)
## OR 
opt = Options()
geo_set = element.Geometry[opt]

```

> **[Geometry Property](https://www.revitapidocs.com/2022/d8a55a5b-2a69-d5ab-3e1f-6cf1ee43c8ec.htm)**
>
> Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018

---

_[View the full topic](https://forum.dynamobim.com/t/get-geometry-function/76843)._
