FindNearest to get a count of pipes on trapeze hanger?

FindNearest to get a count of pipes on trapeze hanger?

Josh.Thomason
Enthusiast Enthusiast
315 Views
1 Reply
Message 1 of 2

FindNearest to get a count of pipes on trapeze hanger?

Josh.Thomason
Enthusiast
Enthusiast

The problem is that I've been asked to find a way to get an accurate count of insulation shields on trapeze hangers without modelling insulation shields as this is very time consuming.

 

Is it possible to use the FindNearest Method on all the hangers and return a list of pipes supported on each hanger to get a count of insulation shields?

 

This would also help to get a count of pipe clamps, insulation blocks, etc...

 

316 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

I don't see any obvious way to compute nearest points without knowing what elements you are working with.

  

However, if you can define a suitable bounding box around each hanger that guarantees that the pipes within the box belong to the hanger and the ones outside it do not, I think you can easily achieve this using an appropriate filtered element collector.

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes