# Get name of current document(BIM360), how?

**URL:** <https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701>\
**Category:** Developers\
**Created:** [September 2, 2020, 12:17pm UTC](https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701 "2020-09-02T12:17:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [September 2, 2020, 12:17pm UTC](https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701/1 "2020-09-02T12:17:37Z")

</div>

Hello,

I get the path very easy! how can i get just the Name?

```
doc = DocumentManager.Instance.CurrentDBDocument
x = Document.PathName.GetValue(doc)
OUT = x

```

Is there no node like .GetName(doc)

Can I `UnwrapElement(doc)`?

 ![2020-09-02_14h13_24](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/4/446650d431979c839f6106892228eacf892b892a.png)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [September 2, 2020, 12:33pm UTC](https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701/2 "2020-09-02T12:33:58Z")

</div>

Hi @Draxl_Andreas,

```auto
doc = DocumentManager.Instance.CurrentDBDocument
x = doc.Title
OUT = x

```

The correct property for the name of the document is “Title”.

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [September 2, 2020, 12:41pm UTC](https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701/3 "2020-09-02T12:41:28Z")

</div>

![2020-09-02_14h41_09](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/2/72db1a64f313723310461eb3943813241db36b46.png)

hmmm… there is still no name

is there a missing library  
 ![2020-09-02_14h42_14](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/9/b93b0bce19c642d9e7cfc6e622242f640ba5b00f.png)

---

<div class="post-metadata">

**Author:** ![Akli.baliche](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Akli.baliche](https://forum.dynamobim.com/u/Akli.baliche)\
**Post date:** [September 2, 2020, 12:43pm UTC](https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701/4 "2020-09-02T12:43:35Z")

</div>

import clr  
clr.AddReference(“RevitServices”)  
import RevitServices  
from RevitServices.Persistence import DocumentManager

doc = DocumentManager.Instance.CurrentDBDocument  
x = doc.Title  
OUT = x

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [September 2, 2020, 12:43pm UTC](https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701/5 "2020-09-02T12:43:56Z")

</div>

There was a typo :

x = doc.Title

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [September 2, 2020, 12:48pm UTC](https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701/6 "2020-09-02T12:48:26Z")

</div>

just “dotting” it out… …how can i get the “vocabulary” for “dotting” out a document or element?

Is there a dictionary? is this a python topic or Revit API?

KR

Andreas

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [September 2, 2020, 12:49pm UTC](https://forum.dynamobim.com/t/get-name-of-current-document-bim360-how/54701/7 "2020-09-02T12:49:48Z")

</div>

There is the API :  
[https://apidocs.co/apps/revit/2020/6cbb045c-a145-04f2-0a26-1ac9285c4d17.htm](https://apidocs.co/apps/revit/2020/6cbb045c-a145-04f2-0a26-1ac9285c4d17.htm)
