# DanEdu - no output / 'failed'

**URL:** <https://forum.dynamobim.com/t/danedu-no-output-failed/14154>\
**Category:** Packages\
**Created:** [August 21, 2017, 10:29am UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154 "2017-08-21T10:29:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![3Pinter](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/3pinter/32/74327_2.png) [@3Pinter](https://forum.dynamobim.com/u/3Pinter)\
**Post date:** [August 21, 2017, 10:29am UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154/1 "2017-08-21T10:29:35Z")

</div>

Hi all, @erfajo,

Now my holiday is over, I’m picking things up where I left them. I see that your package has been updated. So I updated my dynamo script too.

I noticed that the Rhtyhm application.CloseDocument errors. ‘Warning. Operation Application.CloseDocument failed’.  
Putting a watch on DanEDU.FamilyDocument.AddSharedParameter log output results in ‘null’. (So I assume that’s why the Rhithm node isn’t working)  
The input is good: Autodesk.revit.DB.Document list.

Revit 2017.2  
Dynamo 1.3.1  
DanEDU 2017.802.1  
Rhythm 2017.8.15

Any thoughts?

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [September 13, 2017, 4:32am UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154/3 "2017-09-13T04:32:26Z")

</div>

Hi @erfajo,  
I have the same problem. I can’t even get the .rfa file from DanEDU.Directory.ContentsAll node

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/b/cbac40a366dc84d25c528a077c7f3eafcd00f222.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/b/0b25da61513b6e5b6f3b312caf568284dd60d20e.png)

I’m using rac\_advanced\_sample\_project file. I’m trying to add shared parameter to door family.  
Revit 2017.2  
Dynamo 1.3.1  
DanEDU Dynamo 2017.901.0

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [September 14, 2017, 1:58am UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154/5 "2017-09-14T01:58:09Z")

</div>

Thanks for your reply !  
[AddSharedParameter.dyn](https://forum.dynamobim.com/uploads/short-url/mqZKlOrhSYfe21lTVZCERdOBU9E.dyn) (7.8 KB)  
It’s my dyn file.  
The family I want to add shared parameter is in the default folder.  
C:\ProgramData\Autodesk\RVT 2017\Libraries\US Metric\Doors

 ![AddSharedParameter](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/6/e6440806e4512c5c1150f41c9e98dbb9b6c09781.JPG)

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [September 14, 2017, 8:27am UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154/7 "2017-09-14T08:27:48Z")

</div>

Thank you so much,  
it works. Because the files in default folder are protected by the Revit installation, just need to turn off the Read-only option.

 ![Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/2/327936065db619ce75001bfd6818ffc6c4e25f22.JPG)

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [September 14, 2017, 3:04pm UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154/8 "2017-09-14T15:04:52Z")

</div>

> [@erfajo](#):
>
> I get the same error with ‘CloseDocument’. Result is that my dynamo session crashes and I have to restart Revit. I hope that @john_pierson can answer that problem.

Working with background opened files in Dynamo is definitely a bit unstable and unpredictable as Dynamo is trying to swap documents constantly… Unfortunately I do not have a straight forward answer for this.

Although it does seem the read only factor plays into this error quite a bit!

---

<div class="post-metadata">

**Author:** ![nickroz](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@nickroz](https://forum.dynamobim.com/u/nickroz)\
**Post date:** [October 23, 2017, 9:51pm UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154/10 "2017-10-23T21:51:48Z")

</div>

@erfajo Is there an easy fix to modify the Python to run this node on a single, open RFA instead of a group of RFAs within a folder structure?

We’re looking for something like this, that we could use to batch apply multiple shared parameters since it takes so many mouse clicks the old fashioned way.

 ![fam doc](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/5/f57a93f77baad0d641d3ad2df9f3968166b9fd20.PNG)

---

<div class="post-metadata">

**Author:** ![MJB-online](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mjb-online/32/24884_2.png) [@MJB-online](https://forum.dynamobim.com/u/MJB-online)\
**Post date:** [October 25, 2017, 8:33am UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154/12 "2017-10-25T08:33:39Z")

</div>

Hi @nickroz,

I have done an attempt to help in the below topic.

[https://forum.dynamobim.com/t/nested-families-and-adding-parameters/15777/7](https://forum.dynamobim.com/t/nested-families-and-adding-parameters/15777/7)

I couldn’t get the OOTB node “ **Document.Current** ” to work as you suggested above.  
The custom node of the “Archi-lab\_Grimshaw” package “ **Current Document** ” gave better results (not always stable).  
I hope it can be of help.

Kind regards,  
Mark

---

<div class="post-metadata">

**Author:** ![KM\_Springfield](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@KM\_Springfield](https://forum.dynamobim.com/u/KM_Springfield)\
**Post date:** [November 23, 2017, 11:16am UTC](https://forum.dynamobim.com/t/danedu-no-output-failed/14154/13 "2017-11-23T11:16:14Z")

</div>

Thanks for the tip off.

I was getting the same error message, in my case there was a typo in one of the shared parameter in Revit.
