# Getset\_descriptor is not callable

**URL:** <https://forum.dynamobim.com/t/getset-descriptor-is-not-callable/33185>\
**Category:** Developers\
**Created:** [March 8, 2019, 4:15pm UTC](https://forum.dynamobim.com/t/getset-descriptor-is-not-callable/33185 "2019-03-08T16:15:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![igpema](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@igpema](https://forum.dynamobim.com/u/igpema)\
**Post date:** [March 8, 2019, 4:15pm UTC](https://forum.dynamobim.com/t/getset-descriptor-is-not-callable/33185/1 "2019-03-08T16:15:50Z")

</div>

I can not use the Revit API cause I want to run the project Refinery and in order to do a thin code in Dynamo and also use loops and so on I prefer to use Python but instead of using the Revit APPi just importing the dynamo geometry nodes in Python.  
But i am having a problem, as a test (later the python code will be longer) i am just trying to use the Line.Direction() but it gives me a get.set\_descriptor error and I just dont understand where is the probem. Could someone help me out?  
As an imput in the for loop is a list coming from another python node that you can see in the screenshot Refinery\_Python\_03.  
Thanks in advance =)

 ![Refinery_Python_01.JPG](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/2/426405c91744462452b834f299a5a4855d7c3e0b.jpeg)

 ![Refinery_Python_02.JPG](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/9/99b639741cb07ecb8344fa753268f02f51307e78.jpeg)

 ![Refinery_Python_03.JPG](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/0/3019bc1c3aea51071de7f6b1a5b0d06cecc09194.jpeg)

---

<div class="post-metadata">

**Author:** ![igpema](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@igpema](https://forum.dynamobim.com/u/igpema)\
**Post date:** [March 8, 2019, 4:26pm UTC](https://forum.dynamobim.com/t/getset-descriptor-is-not-callable/33185/2 "2019-03-08T16:26:26Z")

</div>

I found the solution here:

> [@Importing Curve methods to Python Script](https://forum.dynamobim.com/t/importing-curve-methods-to-python-script/7212/10):
>
> @Thomas_Mahon or @Mostafa_El_Ayoubi any ideas ? slight_smile
