Get elements from linked file issue

Hi all,

I am trying to see where fire sensors were placed in relation to the ceiling.

E.g. I ve seen some instance are above ceiling level.

I got the ceilings from the linked file and have my Fire alarm objects from the model but the tool. get surround elements yields nothing?

Any help appreciated.

1 Like

It’s highly likely to be caused by the limitation with Link Instances I explained here:

Unfortunately there are few options for the time being:
Option 1: Copy all elements so they are live in the model (@john_pierson covers this further in the thread above)

Option 2: Edit the source code of Tools.GetSurrondingElements and transform/translate the element Outlines and pass them into the filter (the node uses a filter from the Revit API which requires the element Outline to get any elements whos Oultines also intersect)

Option 3: Await the release of BimorphNodes v2.2 (in a few weeks) which includes BoundingBox.GetElementsIntersect node - it performs the same action as Tools.GetSurrondingElements but it will include a solution to the translation/transformation problems caused by elements derived from linked instances.

1 Like

Thanks for letting me know @Thomas_Mahon

You could try extruding your ceiling surface up (or down) and intersecting it with the fire alarm location points.

i did something similar with sprinklers a while back. Try some ray bounces to get intersecting.
or create vector from location of family to intersect above or below . geometry intersect nodes and others related needed.

Quick update: the limitation posed by elements from linked models is fixed in BimorphNodes v2.2. It’ll be released early January!


Hello @Thomas_Mahon was wondering if you issued the package and which node you are referring to?



Hi @i.tzivanidis not yet, I am awaiting the domain move of to the new domain. It should be switched over by next week so check the forum as I will announce the release of BimorphNodes v2.2 once it goes live.

The node that resolves your original issue is BoundingBox.GetElementsIntersects (it performs the same function as Tool.GetSurroundingElements with a number of improvements). It correctly supports elements from links regardless of any transforms to the RevitLinkInstance from where it derived. The number of RevitLinkInstances supported is unlimited and I’ve also ensured there is virtually no loss in performance…in fact, the new infrastructure which enables this support has resulted in a 25% speed increased with the Element.Intersects nodes! Full details will be forthcoming when I make the release announcement.


Hi @i.tzivanidis

BimorphNodes v2.2 has been released which now includes the BoundingBox nodes that support linked elements that have been transformed. To achieve this, a brand new class of elements called LinkElements have been created and must be used with the BoundingBox nodes to solve your problem. Only linked elements that are instances of the LinkElement class are supported. You can read more about LinkElements, and the new features of the BoundingBox nodes here.

The inputs to the nodes haven’t changed either, you simply need input LinkElements:


Looking good Tom!

Thanks for your contribution to the community- will try as soon!



1 Like