# Method : too many parameter to insert family

**URL:** <https://forum.dynamobim.com/t/method-too-many-parameter-to-insert-family/32517>\
**Category:** Developers\
**Created:** [February 22, 2019, 12:23pm UTC](https://forum.dynamobim.com/t/method-too-many-parameter-to-insert-family/32517 "2019-02-22T12:23:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregory.brochard](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@gregory.brochard](https://forum.dynamobim.com/u/gregory.brochard)\
**Post date:** [February 22, 2019, 12:23pm UTC](https://forum.dynamobim.com/t/method-too-many-parameter-to-insert-family/32517/1 "2019-02-22T12:23:05Z")

</div>

Hi there,  
I want insert familly type in revit  
So, i use [http://www.revitapidocs.com/2018.2/4a037d33-8251-2a50-5470-c98320e2faff.htm](http://www.revitapidocs.com/2018.2/4a037d33-8251-2a50-5470-c98320e2faff.htm)  
But i hav not Structural Type, don’t know how to do without that 😕

Does anyone know that ?

Thanks

 ![Capture%20Dynamo1%20](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/7/77a722a8dc6dd81fe3b0fb0333697be864dc36d4.png)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [February 22, 2019, 1:01pm UTC](https://forum.dynamobim.com/t/method-too-many-parameter-to-insert-family/32517/2 "2019-02-22T13:01:44Z")

</div>

Hi could you post some more information please? A test rvt and your dyn?

There are many reasons why it wouldn’t work. I believe if you define your Structural Type as so…  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/c/8c11eab4b2837c8404d7951619a689d0c073c098.png)

Using the possibililities here…  
[http://www.revitapidocs.com/2018.2/0a0a3793-5fce-283d-4953-a137f5593db9.htm](http://www.revitapidocs.com/2018.2/0a0a3793-5fce-283d-4953-a137f5593db9.htm)

It should solve one issue 🙂

Hope that helps,

Mark

---

<div class="post-metadata">

**Author:** ![gregory.brochard](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@gregory.brochard](https://forum.dynamobim.com/u/gregory.brochard)\
**Post date:** [February 22, 2019, 3:38pm UTC](https://forum.dynamobim.com/t/method-too-many-parameter-to-insert-family/32517/3 "2019-02-22T15:38:40Z")

</div>

I tried this

 ![Capture%20Dynamo](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/271c1ffd99ec442d98e7a41a09ad56e8e7d822ca.png)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [February 22, 2019, 3:59pm UTC](https://forum.dynamobim.com/t/method-too-many-parameter-to-insert-family/32517/4 "2019-02-22T15:59:30Z")

</div>

Hey,

For some reason you have ignored my advice above?

If you want me to help properly, please provide a rvt and dyn.

You have fed Spaces into IN[3]? What did you hope that would do? 🙂

Spaces are not a Member of the Structure enumeration in the link I gave you, only…

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/1/21e7039ebc36c9e5ce75aa0806a0b3b956e8002b.png)

Rather that using an input I believe you can just put:

`,level[i],Structure.StructuralType.Column`

And that will (probably!) work 😃

The error message from the Python states that the List object has no attribute Structure. This sounds quite reasonable.

There may well be other issues ☹

Hope that’s useful,

Mark
