# Archi-lab Rename PDF Errno 17

**URL:** <https://forum.dynamobim.com/t/archi-lab-rename-pdf-errno-17/19537>\
**Category:** Revit\
**Tags:** revit, archi-lab, dynamo\
**Created:** [March 1, 2018, 6:29am UTC](https://forum.dynamobim.com/t/archi-lab-rename-pdf-errno-17/19537 "2018-03-01T06:29:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaYc29](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@jaYc29](https://forum.dynamobim.com/u/jaYc29)\
**Post date:** [March 1, 2018, 6:29am UTC](https://forum.dynamobim.com/t/archi-lab-rename-pdf-errno-17/19537/1 "2018-03-01T06:29:00Z")

</div>

Hello all,

 ![PDF%26RENAME](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/c/5cfcaaadfb198a1ce211f68b450b5df6b33bb944.png)  
Just a newbie in Dynamo and have been working on creating useful scripts/nodes  

> **[printing PDFs w/ dynamo](https://archi-lab.net/printing-pdfs-w-dynamo/)**
>
> Some time ago I have spotted this post by Sol Armor at DynamoBIM forum, asking about printing PDFs out of Dynamo and I was a little sad that we didn’t already have any tools for that. Recentl…

Followed other topics, however I am having trouble fixing the error I am receiving (see below).  
Currently using PDFCreator and have set it up to automatically save to the same folder without interrupting me.

 ![PDF%26RENAME_issue](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/9/696a9c6371d7111d9ad2f2682a173d24ec7e0491.png)

Prints to PDF just fine.  
I have adjusted Rename PDF to include the for Indentifiers & NewNames.

Is there a fix to:  
‘WindowsError: [Errno 17] [Errno 183] Cannot create a file when that file already exists.’  
I see the first file is renamed however it ends there.

Would appreciate any help in the matter.

---

<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:** [March 1, 2018, 1:41pm UTC](https://forum.dynamobim.com/t/archi-lab-rename-pdf-errno-17/19537/2 "2018-03-01T13:41:24Z")

</div>

Hi @jaYc29,

You have probably a problem with the order of operations.  
Use the passthrough node from clockwork to wait until the print of PDF is finished.

 ![Rename](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/d/9de39799b8e04910cdd50c41609b582e95b679ba.PNG)

---

<div class="post-metadata">

**Author:** ![jaYc29](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@jaYc29](https://forum.dynamobim.com/u/jaYc29)\
**Post date:** [March 2, 2018, 11:39pm UTC](https://forum.dynamobim.com/t/archi-lab-rename-pdf-errno-17/19537/3 "2018-03-02T23:39:24Z")

</div>

Thanks @Alban_de_Chasteigner i figured this to be the case, thank you for narrowing down the node to use.  
Much appreciated.

---

<div class="post-metadata">

**Author:** ![julia](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@julia](https://forum.dynamobim.com/u/julia)\
**Post date:** [August 8, 2018, 8:57am UTC](https://forum.dynamobim.com/t/archi-lab-rename-pdf-errno-17/19537/4 "2018-08-08T08:57:23Z")

</div>

HI! I am getting the same error here but I have the Print part and the Rename files as separate steps so that shouldn’t be my problem. Any clues what I am doing wrong?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/f/9ff80516ca201bad9282bd6c353782060d9a61b0.png)

---

<div class="post-metadata">

**Author:** ![julia](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@julia](https://forum.dynamobim.com/u/julia)\
**Post date:** [August 8, 2018, 8:57am UTC](https://forum.dynamobim.com/t/archi-lab-rename-pdf-errno-17/19537/5 "2018-08-08T08:57:59Z")

</div>

and here is the error

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/4/d4576282fd3dbb1fba79c9bcfc9db444765e0237.jpg)  
Thanks in advance

---

<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:** [August 8, 2018, 9:11am UTC](https://forum.dynamobim.com/t/archi-lab-rename-pdf-errno-17/19537/6 "2018-08-08T09:11:49Z")

</div>

Hi,

Can you start a new topic with all the previews enabled under the nodes ?  
Thanks
