# AdaptiveComponent.Locations not working on linked elements?

**URL:** <https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [December 8, 2025, 3:27pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359 "2025-12-08T15:27:36Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laura\_BIMChick](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Laura\_BIMChick](https://forum.dynamobim.com/u/Laura_BIMChick)\
**Post date:** [December 8, 2025, 3:27pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/1 "2025-12-08T15:27:36Z")

</div>

I’m trying to extract the adaptive points from instances in a linked file.  
This works perfect in the host file, just not in the linked file.  
Any workaround suggestions?

I’ve been trying to solve this for hours with Copilot but me brain is literally fried now…

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/9/59ce406648fd89165f5be6243089e0a712885238.png)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [December 9, 2025, 8:20am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/2 "2025-12-09T08:20:16Z")

</div>

Hi @Laura_BIMChick not sure,maybe something here ?

 ![Skærmbillede 2025-12-09 091503](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/f/af8c0ad4edca9cdb5d9f6fe5456ff0b3aea30eb4.png)

---

<div class="post-metadata">

**Author:** ![Laura\_BIMChick](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Laura\_BIMChick](https://forum.dynamobim.com/u/Laura_BIMChick)\
**Post date:** [December 9, 2025, 8:53am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/3 "2025-12-09T08:53:08Z")

</div>

Hi @sovitek Can you share your python code? Would love to try this out!

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [December 9, 2025, 9:17am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/4 "2025-12-09T09:17:32Z")

</div>

yeah no problem, but you could use ootb as well, but think it depemds on version, or spring, bimorph etc…i just play around for practice python 😉 you will need ironpython 3 package here, for now 😉

 ![Skærmbillede 2025-12-09 101453](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/f/bf030680080f5c8ad7275858d284f191d2c623f7.png)  
[link adapt.dyn](https://forum.dynamobim.com/uploads/short-url/l64YaartdvS0r1FjG2jPPBzOtwr.dyn) (12.3 KB)

---

<div class="post-metadata">

**Author:** ![Laura\_BIMChick](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Laura\_BIMChick](https://forum.dynamobim.com/u/Laura_BIMChick)\
**Post date:** [December 9, 2025, 11:06am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/5 "2025-12-09T11:06:47Z")

</div>

@sovitek The script you shared doesn’t include the python…  
Could you share from what package and what version the LinkInstance.AllElementsOfCategory node is? Or please share the python?

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

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [December 9, 2025, 11:11am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/6 "2025-12-09T11:11:02Z")

</div>

guess is it because, you dont have ironpython 3 installed, then you cant see it…maybe…i have that issue with pythonnet 3 as well for not so long time ago…see if it work, but you could try bimorph or spring as work in 2.7, and seems you are in a version where we dont have linkinstance OOTB

---

<div class="post-metadata">

**Author:** ![Laura\_BIMChick](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Laura\_BIMChick](https://forum.dynamobim.com/u/Laura_BIMChick)\
**Post date:** [December 9, 2025, 11:23am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/7 "2025-12-09T11:23:56Z")

</div>

@sovitek I don’t kow what OOTB nodes you are talking about, I feel like I tried all of them already and I couldn’t get there.  
When I check for the Python version it says CPython3…

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/3/43744e81a6f194ff199602202ad02cf0a404c69f.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [December 9, 2025, 11:25am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/8 "2025-12-09T11:25:53Z")

</div>

yes …ironpython 3 is a package from package manager as ironpython 2.7…give it a try, the reason you dont have ootb linkinstance is you probably is in lower 25 version, cant really remember when it comes right now…hahah

this one her works for iron 2.7 and 3

```auto
import clr
clr.AddReference("RevitAPI")
clr.AddReference("RevitServices")
clr.AddReference("RevitNodes")

import Revit
clr.ImportExtensions(Revit.Elements)

from Autodesk.Revit.DB import FilteredElementCollector
from RevitServices.Persistence import DocumentManager

doc = DocumentManager.Instance.CurrentDBDocument

def tolist(x):
    if x is None: return []
    if hasattr(x, " __iter__") and not isinstance(x, str):
        return list(x)
    return [x]

def safe_to_ds(e):
    try: return Revit.Elements.ElementWrapper.ToDSType(e, True)
    except: return None

links = tolist(IN[0]) if IN.Count > 0 else []
cats = tolist(IN[1]) if IN.Count > 1 else []
catnames = [c.Name for c in cats]

out_elems = []

for l in links:
    revit_link = getattr(l, "InternalElement", None)
    if revit_link is None: continue
    try:
        linkDoc = revit_link.GetLinkDocument()
        if linkDoc is None: continue
    except:
        continue

    col = FilteredElementCollector(linkDoc).WhereElementIsNotElementType()

    for e in col:
        cat = getattr(e, "Category", None)
        if catnames and (cat is None or cat.Name not in catnames):
            continue
        d = safe_to_ds(e)
        if d: out_elems.append(d)

OUT = out_elems

```

---

<div class="post-metadata">

**Author:** ![Laura\_BIMChick](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Laura\_BIMChick](https://forum.dynamobim.com/u/Laura_BIMChick)\
**Post date:** [December 9, 2025, 11:47am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/9 "2025-12-09T11:47:04Z")

</div>

@sovitek Doesn’t seem to be working for me, I did select the individual element, dynamo Displays it as a RevitLinkInstance…

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

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [December 9, 2025, 11:48am UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/10 "2025-12-09T11:48:35Z")

</div>

have you tried set it ironpython 2.7 as you have installed ? btw which revit are you in?

---

<div class="post-metadata">

**Author:** ![Laura\_BIMChick](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Laura\_BIMChick](https://forum.dynamobim.com/u/Laura_BIMChick)\
**Post date:** [December 9, 2025, 12:01pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/11 "2025-12-09T12:01:44Z")

</div>

Aah yes, when I switch to 2.7 it works!  
Our project is currently still in 2024, but we are upgrading to 2026 during the Christmas holidays…

The only thing I’m still wondering is if they can be grouped by instance with the python?  
1 (family) instance has 2 adaptive points so I want those 2 to be grouped in sublists…

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

Would it also be possible to make the selection based on the family/type name? (instead of manual selection)

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

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [December 9, 2025, 12:09pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/12 "2025-12-09T12:09:16Z")

</div>

> [@Laura\_BIMChick](#):
>
> upgrading to 2026 during the Christmas holidays

then it will be your time for go away from 2.7, actuelly i dont understand what you mean with manuel selection, is it the link you mean ? you will could find it with ootb…yeah guess we can pair you points up…but im not in dyn in the moment and probably first in the weekend…if you then dont have find a way…i will give it a try 😉

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [December 9, 2025, 12:14pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/13 "2025-12-09T12:14:22Z")

</div>

> [@Laura\_BIMChick](#):
>
> upgrading to 2026

and then you should have link instance node ootb 😉

---

<div class="post-metadata">

**Author:** ![francois.picard](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@francois.picard](https://forum.dynamobim.com/u/francois.picard)\
**Post date:** [January 20, 2026, 1:56pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/14 "2026-01-20T13:56:36Z")

</div>

Hello! Does anyone have a solution that works with link elements? not just getting all the points? or a way to group them with the family of the points?

---

<div class="post-metadata">

**Author:** ![francois.picard](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@francois.picard](https://forum.dynamobim.com/u/francois.picard)\
**Post date:** [January 20, 2026, 6:32pm UTC](https://forum.dynamobim.com/t/adaptivecomponent-locations-not-working-on-linked-elements/113359/15 "2026-01-20T18:32:14Z")

</div>

quick solution using Rhythm and a Python code generated from AI… use at your own risk

[RVT\_2023\_Adaptive points from link elements.dyn](https://forum.dynamobim.com/uploads/short-url/oc9F33jUfiruuVgCVttEF7TVr07.dyn) (12.7 KB)
