hi,
i have an issue of getting specific surface area of the an element.
I have attached a screenshot for my reference for explaining the issue
I am able to get the side surface area of the column and now i can determine which elements are joining with the column.
And now I want to deduct the clashed/joined surface area of the beam and the floor (red highlighted Box)
However, the floor has 20 faces and this causes me that i cannot determine which surface area to get.
Any idea on how i can achieve this?
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
Solved by jasonkhc. Go to Solution.
Dear Jasonkhc,
Query the element geometry just like you are doing now, and than use the Element.GetGeneratingElementIds method to determine where those small faces are coming from. I would expect the floor to be reported as the generating element:
I hope this helps.
Best regards,
Jeremy
GetGeneratingElementIds does not work to floor and column, and it is not really consistent when i use GetGeneratingElementIds.
I test it using beam and we can see it is not consistent like
The first beam can detect all the columns and floor attached to it but the second only only can detect one column but not the other column
i try use the method FaceIntersectionFaceResult.. still cannot be done..
Then I suggest you explore the purely geometry based approaches I describe in the links above.
They seem to be garbled in my first answer, so I am adding them here again:
http://thebuildingcoder.typepad.com/blog/2011/07/top-faces-of-wall.html
http://thebuildingcoder.typepad.com/blog/2012/01/opening-geometry.html
http://thebuildingcoder.typepad.com/blog/2013/03/supporting-columns.html
http://thebuildingcoder.typepad.com/blog/2013/05/couchdb-implementation-and-github-repository.html
Best regards,
Jeremy
so revit do not provide the method to determine size of surface area of floor that is touches the column selected right?
we have to do manual calculation in the geometry right?
2 x yes.