# AdaptiveComponent.ByPoints giving "Null" output

**URL:** <https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951>\
**Category:** Uncategorized\
**Tags:** revit, dynamo\
**Created:** [November 3, 2021, 11:02am UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951 "2021-11-03T11:02:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarah.matta](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@sarah.matta](https://forum.dynamobim.com/u/sarah.matta)\
**Post date:** [November 3, 2021, 11:02am UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/1 "2021-11-03T11:02:06Z")

</div>

Hi everyone, I am trying to model a structure using adaptive family (done with 3 adaptive points). When I run dynamo, the tool AdaptiveComponent.ByPoints is giving me a “Null” output.

Below is a screenshot of what I did, please advise.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/6/96e1f746ec7b809621671a0207a710babeb19f9b.png)

---

<div class="post-metadata">

**Author:** ![honeyjain619](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/honeyjain619/32/121215_2.png) [@honeyjain619](https://forum.dynamobim.com/u/honeyjain619)\
**Post date:** [November 3, 2021, 11:42am UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/2 "2021-11-03T11:42:59Z")

</div>

Hello @sarah.matta  
Welcome to Dynamo Community.

have you tried by changing the level 2 (@2) or @1  
Hope this will solve your problem

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

---

<div class="post-metadata">

**Author:** ![sarah.matta](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@sarah.matta](https://forum.dynamobim.com/u/sarah.matta)\
**Post date:** [November 3, 2021, 11:58am UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/3 "2021-11-03T11:58:42Z")

</div>

Hello thx alot, yes I tried it and still giving me Null:

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

---

<div class="post-metadata">

**Author:** ![shawaomar75](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@shawaomar75](https://forum.dynamobim.com/u/shawaomar75)\
**Post date:** [November 3, 2021, 12:41pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/4 "2021-11-03T12:41:51Z")

</div>

The number of Points in the sublist must match the number of adaptive Points in the Family. Do not use this knot “List.Flatten”

---

<div class="post-metadata">

**Author:** ![sarah.matta](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@sarah.matta](https://forum.dynamobim.com/u/sarah.matta)\
**Post date:** [November 3, 2021, 12:46pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/5 "2021-11-03T12:46:26Z")

</div>

yes it matches, i have 60 points in total

---

<div class="post-metadata">

**Author:** ![shawaomar75](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@shawaomar75](https://forum.dynamobim.com/u/shawaomar75)\
**Post date:** [November 3, 2021, 12:54pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/6 "2021-11-03T12:54:00Z")

</div>

what? the Family has 60 adaptive Points !!!

---

<div class="post-metadata">

**Author:** ![sarah.matta](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@sarah.matta](https://forum.dynamobim.com/u/sarah.matta)\
**Post date:** [November 3, 2021, 1:05pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/7 "2021-11-03T13:05:18Z")

</div>

ah okay now i get what you said before, yes the number of points in the sublist matches the number of adaptive points in the family (3 points)

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [November 3, 2021, 2:32pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/8 "2021-11-03T14:32:07Z")

</div>

![Apadtive](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/3/a38d1a35b28a337f09d863b372731be5b41a2635.png)  
 ![Apadtive2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/3/939029d7cd0f0ba32662293f8bfe516243ffe3b9.png)

the Points need to be list of list .[each list must be inside list]

---

<div class="post-metadata">

**Author:** ![sarah.matta](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@sarah.matta](https://forum.dynamobim.com/u/sarah.matta)\
**Post date:** [November 4, 2021, 6:18am UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/9 "2021-11-04T06:18:12Z")

</div>

Hello Ramez how are you?? (I dont know if you remember me we were in the same company you did dynamo training for us). I tried to use list.Map as you suggested, didnt work too then I used the in house tool that converges the arraylist to point and it worked.

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [November 4, 2021, 7:21am UTC](https://forum.dynamobim.com/t/adaptivecomponent-bypoints-giving-null-output/69951/10 "2021-11-04T07:21:45Z")

</div>

Hi Sarah. sure i remember you 🤗, nice to meet you again. Good is the problem solved.
