Get elements from linked file issue


#1

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.


#2

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.


Ceiling height to room parameter
#3

Thanks for letting me know @Thomas_Mahon


#4

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


#5

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.


#6

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


#7

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

Thanks.

Regards,
JT


#8

Hi @i.tzivanidis not yet, I am awaiting the domain move of bimorph.co.uk/bimorph-nodes to the new bimorph.com 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.


#9

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:


#10

Looking good Tom!

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

Regards,

JT