# Using titleblocks wich arent loaded in the project

**URL:** <https://forum.dynamobim.com/t/using-titleblocks-wich-arent-loaded-in-the-project/7492>\
**Category:** Uncategorized\
**Created:** [November 14, 2016, 9:32am UTC](https://forum.dynamobim.com/t/using-titleblocks-wich-arent-loaded-in-the-project/7492 "2016-11-14T09:32:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![l.rozendaal](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@l.rozendaal](https://forum.dynamobim.com/u/l.rozendaal)\
**Post date:** [November 14, 2016, 9:32am UTC](https://forum.dynamobim.com/t/using-titleblocks-wich-arent-loaded-in-the-project/7492/1 "2016-11-14T09:32:27Z")

</div>

Hello,

I’m new to Dynamo and the forums. For my first dynamo script i want to create sheets from an Excel. I have seen that many people have done this before me, but there is 1 thing i cant get to work and I havent seen anyone else posting the problem I have.

The problem is:

For inserting titleblocks in to the _Sheet.ByNameNumberTitleBlockAndView_ node i used the _Family types_ node. This works, but…

I wish to be able to load titleblock families from an file location, instead of standard families wich are loaded in the project.

There for i used the _filepath_ and _filefrompath_ node but this didnt work. How should i make this work?

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/4/14c4c3bf6f2a5e0e84cb82ca4d2cfe2b0624140e.png)

---

<div class="post-metadata">

**Author:** ![Mauro](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mauro/32/16628_2.png) [@Mauro](https://forum.dynamobim.com/u/Mauro)\
**Post date:** [November 14, 2016, 2:19pm UTC](https://forum.dynamobim.com/t/using-titleblocks-wich-arent-loaded-in-the-project/7492/2 "2016-11-14T14:19:21Z")

</div>

Hi l.rozendaal,

the node _File Path_ seems to work well with the _Document.LoadFamily_ node

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/5/25dcce93f8ad25629a27ac20d4955a6b6d3eda90.png)

could you please send over your .dyn file?

---

<div class="post-metadata">

**Author:** ![l.rozendaal](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@l.rozendaal](https://forum.dynamobim.com/u/l.rozendaal)\
**Post date:** [November 15, 2016, 2:30pm UTC](https://forum.dynamobim.com/t/using-titleblocks-wich-arent-loaded-in-the-project/7492/3 "2016-11-15T14:30:11Z")

</div>

Hello Mauro,

thnx for your response.

I tried using that node but for some reason it kept giving me an _null_ value. So i started a new Dynamo and i tried it there with just those 2 nodes ( _File Path_ and _Document.LoadFamily_) and then it worked.  
So i think there might be something wrong with my script. I have 0 programming experience so I think I also might be running into some problems because i dont know wat is happening in the background.

This is wat it looks like up close:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/e/be12630ad8859de5f5d04d39d2491ecc043b095e.PNG)

And this is the overview:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/8/488573eb374b41435109dd28e0eeebe1dd56d18d.PNG)

at some point i had just A4 portrait working, the other sizes didnt work, but it created only 1 sheet. (in my test Excel sheet i have 10 sheets) before hand, when I used the _Family Type_ node as input, it did create 10 sheets.

here’s my current Dynamo file:

[Sheets aanmaken verschillende formaten.dyn](https://forum.dynamobim.com/uploads/short-url/b66Pj3K9kcGXtlJZeHhNv0gHLUf.dyn) (85.2 KB)

I am sorry for the big post xD. I realize i’m a big noob in the Dynamo world so i apreciated every word of advice ;).

Thank you!

---

<div class="post-metadata">

**Author:** ![Mauro](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mauro/32/16628_2.png) [@Mauro](https://forum.dynamobim.com/u/Mauro)\
**Post date:** [November 15, 2016, 3:30pm UTC](https://forum.dynamobim.com/t/using-titleblocks-wich-arent-loaded-in-the-project/7492/4 "2016-11-15T15:30:17Z")

</div>

Hi l.rozendaal,

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/a/da3b2557faef28aea4b3f26d89416efc5ceb10e1.png)

your script seems to work well. i think you might need to change two things:

- Change the lacing of the node _Sheet.ByNameNumberTitleBlockAndView_ to longest  

- Try different title block (e.i. this one)

[A0 metric.rfa](https://forum.dynamobim.com/uploads/short-url/tDFnNPf4a6WrWGfqPneSSjaTApE.rfa) (308 KB)

here the .dyn file and the excel that i used:  
[drawing list.xlsx](https://forum.dynamobim.com/uploads/short-url/gP5NlGAL0A84zT490aOaXRqEOa3.xlsx) (8.1 KB)  
[Sheet.ByNameNumberTitleBlockAndView.dyn](https://forum.dynamobim.com/uploads/short-url/krilus3n90rgKgZUpSPYHrUwuHj.dyn) (23.5 KB)

---

<div class="post-metadata">

**Author:** ![l.rozendaal](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@l.rozendaal](https://forum.dynamobim.com/u/l.rozendaal)\
**Post date:** [November 16, 2016, 7:45am UTC](https://forum.dynamobim.com/t/using-titleblocks-wich-arent-loaded-in-the-project/7492/5 "2016-11-16T07:45:50Z")

</div>

Hello Mauro,

I put lacing on longest in old script but didnt work.

I just started over with a new script and i got it working with the: _Document.LoadFamily_ Node from the clockwork packages. I think I bugged the old script somehow.

Thank you for the Help Mauro 👍
