Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting all edges of floor when columns are joined to it

1 REPLY 1
Reply
Message 1 of 2
Ali.sadeghi.h1994
212 Views, 1 Reply

Getting all edges of floor when columns are joined to it

Hi everyone. I create floors in my model and structural columns above them. I need to get all edge lines of the upper face of the floor. First I get the curveloop of the upper face and then I iterate through its lines but when there exist columns on a floor and all of the columns' faces are joined with the upper face of the floor  lots of lines are given to me whereas I just need the peripheral edge lines of the upper face of the floor. Does someone know how to get the edges of the floor correctly? for example I need to get 4 edges of the floor in the image below when columns are exists.PPPPP2.JPG

Tags (3)
Labels (1)
1 REPLY 1
Message 2 of 2

You will not get four edges because there is a joined geometry. this will affect the shape of the floor. if the columns cut the floor the resulting curves extracted will be more than that. A solution in this case might be to switch the joined order and switch again after extraction using the JoinedGeometryUtils method . 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report