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: 

Floor Finishing

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
772 Views, 1 Reply

Floor Finishing

I greet everyone
I encountered such a problem: it is necessary to build an overlap for several rooms, but in such a way that it is built in one block.

I used the NewFloor method (CurveArray, FloorType, Level, Boolean), but it does not work to build on several contours of the rooms, it gives an error that the lines are not closed.

The question is how to be in this situation? what are the ways?

I enclose a code block, with an example of my implementation

work is done in C #

vebermy_1-1592905456964.png

 

Tags (3)
Labels (2)
1 REPLY 1
Message 2 of 2
RPTHOMAS108
in reply to: Anonymous

Depending on the room boundary you may not be getting exactly what you are expecting. You should iterate the curves to see if each curve start and end points create a closed loop. If there are items in the room such as columns then these will impact the result. I believe it is true that when creating floors with the API you have to create a single closed outer loop (unlike in the UI holes in the floor have to be created with openings elements rather than inner loops drawn on the floor sketch).

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

Post to forums  

Autodesk Design & Make Report