Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

How to check Family Instance is touching roof or floor or ceiling

Anonymous

How to check Family Instance is touching roof or floor or ceiling

Anonymous
Not applicable

Hi Everyone,

 

Greetings for the day,

 

I have one family instance (Support) which is placed on pipe, also that family instance is placed such that its rod is touching the above floor,

how i will come to know that its rod is touching the above floor, any ideas or work around for getting it..

 

Thanks & Regards

Kailash Kute

0 Likes
Reply
694 Views
4 Replies
Replies (4)

matthew_taylor
Advisor
Advisor

Hello @Anonymous

Greetings to you!

 

You have a few options (there are probably more):

The ElementIntersectsElementFilter filter http://www.revitapidocs.com/2017/98b42df6-b0a6-87f4-e186-da06ef64ba61.htm

(This one would depend on the nature of your 'support'. Check the IsCategorySupported property of the ceilings/roofs/floors categories to see if the ElementIntersectsElementFilter filter supports them.)

 

The BoundingBoxIntersectsFilter filter http://www.revitapidocs.com/2017/7ef1b6ab-3aaa-3ac3-34c3-81d7b44534be.htm

(You can implement your own 'fuzz' in this one, so it may be your best bet.)

 

I don't know what type of element your support is, but if it has a structural component, you may be able to use the analytical model to check the support. This would be ideal, but it would depend on your 'support'. I'm sure thebuildingcoder has an example of that somewhere.

 

Cheers,

 

-Matt

 


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
0 Likes

Anonymous
Not applicable

Hey thanks Matthew,

 

i will check and go through the links provided by you, will do some workaround with that. if i get any solution by tomorrow will definitely accept it as solution.

 

Regards.

0 Likes

Anonymous
Not applicable

What complicates this question, particularly in the USA, is that there are very few instances where any piping system ever attaches to a roof, ceiling or floor. Usually nothing is permitted for many reasons to attach to a roof system unless that roof was cast in place concrete or pre-cast concrete panels and the roof was specifically designed to carry attached loads. In all roof and floor instances except for concrete, piping is attached in one way or another to the structural joists and beams. Therefore it is the joist and beam placement that drives the location for every pipe hanger and often the direction for every piping system. Some piping systems have a maximum distance between hangers that must be taken into account. Whether or not the hanger attaches to the beam or joist bottom flange or the top flange depends on the piping system type and in some cases what attachment system the contractor prefers to use or is required to use by building code. In wood joist construction and in some concrete joist construction the attachment point is on the beam or joist side at no less than a specific minimum distance from the joist bottom edge. Keep in mind, even though there might be a structural system with steel beams or joists where the deck between the structure is a structural deck covered with concrete, the most economical hanger system will be attaching to the beams or joists with a bolt on attachment instead of setting up a drill to drill the hole for a post installed anchor. Only some very light weight piping systems are permitted to attach to plaster ceilings.

 

Most installers need to know the piping centerline distance from the pipe to the floor and the centerline distance from the pipe to the item from which the piping hangs. Two base numbers provide the starting point for determining where the pipe goes and what to figure for attachment hardware dimension. Unless the conditions are quite predicable and static, pre-cut, exact length hanger rods would be a mistake made only once.

 

I am thinking what is mentioned above and more should be taken into account if the programming application in question is intended to produce a reasonable model for what has to be installed.   

0 Likes

Anonymous
Not applicable

HI Guys,

 

Merry Christmas and Happy New Year to all,

 

i was on Christmas leave, well i did some other work around for my problem and solved it,

actually my approach was wrong, supports geometry was not getting reflected until and unless transaction is not committed,

so just added transaction on right location in the code and it worked.

 

Thanks

Kailash Kute

0 Likes