# Associate adaptive Family to Reference points

**URL:** <https://forum.dynamobim.com/t/associate-adaptive-family-to-reference-points/22174>\
**Category:** Revit\
**Created:** [May 24, 2018, 8:09am UTC](https://forum.dynamobim.com/t/associate-adaptive-family-to-reference-points/22174 "2018-05-24T08:09:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![benpkoch](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@benpkoch](https://forum.dynamobim.com/u/benpkoch)\
**Post date:** [May 24, 2018, 8:09am UTC](https://forum.dynamobim.com/t/associate-adaptive-family-to-reference-points/22174/1 "2018-05-24T08:09:14Z")

</div>

Hello,

I have been attempting to automatically join an adaptive family created in Revit to a list of points given in a text file and converted to a series of reference points in the Dynamo environment.

Currently I can create the reference and load them into Revit. Once in Revit I manually click on each point (four in total) to associate my four-point adaptive family. (tedious)

My goal is to make this an automatic process where I bring in the adaptive family and have a script such that the points are then associated to the list of points given. i.e. Points in adaptive family (f1, f2, f3, f4) are linked to the points in my list (p1, p2, p3, p4) then the next series of points starting with (p2, p5, p6, p3) then (p5, p7, p8, p6) and so on.

Is something like this possible? Is there a node that exists for something like this?

All help is appreciated, thank you.

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

 ![AdaptiveFamily](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/c/9c9d0a5ceaf10460c2f44be0cdb92d621cb547c2.png)

 ![ManualEntry](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/c/1c6fee3a4ade9e4027d7918932481568712f007b.png)

---

<div class="post-metadata">

**Author:** ![viktor\_kuzev](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/viktor_kuzev/32/48254_2.png) [@viktor\_kuzev](https://forum.dynamobim.com/u/viktor_kuzev)\
**Post date:** [May 24, 2018, 8:49am UTC](https://forum.dynamobim.com/t/associate-adaptive-family-to-reference-points/22174/2 "2018-05-24T08:49:23Z")

</div>

Hi @benpkoch  
As you probably know this is what we get as nodes for placing adaptive components:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/3/d32d343b893cdd4a290c6e367cb49bb21fa9089f.png)  
Adaptive component by points just sets the points location, so actually the component is not hosted to anything, it just sits on the given locations.  
AdaptiveComponent.ByParametersOnFace hosts the adaptive components to a Revit surface.  
AdaptiveComponent.ByParametersOnCurveReference hosts the components to a curve  
And now to your question. My bet is it is possible with the API.  
Look at this old topic here:

> [@Create Adaptive Component Hosted on Line in Family Instance](https://forum.dynamobim.com/t/create-adaptive-component-hosted-on-line-in-family-instance/19948):
>
> See image and attached files. I am trying to write a Python Script that will place a 2 point adaptive at the 0 & 1 parameters of a line that is inside of a loaded Revit Family instance. Here’s the issue - the code seems to work from the aspect of the Adaptive Component is placed in the project and the placement points know they are hosted to the family and to the appropriate parameter, but the Adaptive is Not placed in the correct position, nor does it move along with the host family…

You can set the adaptive points reference, so I guess(but I’m not sure )that you can use your existing reference points for that.  
Though I think hosting them on a curve or a surface is a better option.
