# AdaptiveComponent.ByPoints Failed

**URL:** <https://forum.dynamobim.com/t/adaptivecomponent-bypoints-failed/19069>\
**Category:** Packages\
**Created:** [February 14, 2018, 1:00pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-failed/19069 "2018-02-14T13:00:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrentBurgess1980](https://avatars.discourse-cdn.com/v4/letter/b/45deac/32.png) [@BrentBurgess1980](https://forum.dynamobim.com/u/BrentBurgess1980)\
**Post date:** [February 14, 2018, 1:00pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-failed/19069/1 "2018-02-14T13:00:45Z")

</div>

Hi All,

It’s my first time using Dynamo, coming from a c# background and trying to complete an adaptive railing.

Have managed to get it all through to the end, but it fails on "AdaptiveComponent.ByPoints"  
Warning: AdaptiveComponent.ByPoints operation failed.  
The arguments have issues

Can anyone give some guidance as to where I have gone wrong? I have [attached](https://www.dropbox.com/sh/szyaryv0wfm3utb/AAD_Mn9I_fSGyJpxBua8KAlJa?dl=0) the dynamo file and the project with the adaptive component.

Many thanks,

Brent

---

<div class="post-metadata">

**Author:** ![Andrew\_Hannell](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andrew_hannell/32/103315_2.png) [@Andrew\_Hannell](https://forum.dynamobim.com/u/Andrew_Hannell)\
**Post date:** [February 15, 2018, 4:50am UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-failed/19069/2 "2018-02-15T04:50:59Z")

</div>

Hi Brent

I have not delved into it in detail- but it looks like your adaptive family has 2 points (start & end)  
This means you need to structure your list so that there are sublists containing the 2 points.

I’m assuming that the end of one family would be the start of the next- i.e the second point in one sublist would be the first in the next sublist.  
Have a look on the forum for posts on this & reply back if you get stuck.

I’d suggest manually generating some lists of points in the above structure first, to check that your family is working as expected.

Andrew

---

<div class="post-metadata">

**Author:** ![Fiesta](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/fiesta/32/31914_2.png) [@Fiesta](https://forum.dynamobim.com/u/Fiesta)\
**Post date:** [February 15, 2018, 8:03am UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-failed/19069/3 "2018-02-15T08:03:01Z")

</div>

Andrew is right.  
You create a list with sublist like that:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/3/b3f8904973650147461aef27aa1444b0dd170047.png)  
if you only have 2 points

---

<div class="post-metadata">

**Author:** ![MartinSpence](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/martinspence/32/25208_2.png) [@MartinSpence](https://forum.dynamobim.com/u/MartinSpence)\
**Post date:** [February 15, 2018, 1:44pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-failed/19069/4 "2018-02-15T13:44:41Z")

</div>

Hi @BrentBurgess1980

This is a way to set up the work flow:

 ![GuardRailWorkFlow](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/0/40196413924809ba2bbb5ae254a095517d8718a2.png)

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

Dyn:  
[GuardRail.dyn](https://forum.dynamobim.com/uploads/short-url/wqYRKo2N2SukSc5pn8LyNAGpjZ5.dyn) (28.0 KB)
