Hello, I would like to reproduce the room creation button in the Revit UI but instead of placing a room, it places a surface (area), of course the manipulation will be done in an area plane.
You could create the rooms, keeping track of all the new elements added by that step, then query them for their boundaries and use those to create areas.
The problem is that some closed areas are so small that you can't put a room there.
hi @autodesk0860 :
may be , u can create modelcurve-room-boundary , and then , doc.createNewRoom(Level,UV) to create self room
In that case, you need to research to find an alternative workflow and best practices to handle the situation as it is. In general, it is more effective to perform such research from the manual end user interface point of view before you start addressing the task programmatically. So, let us discuss again once you have clarified the best practices to solve this task manually in the end user interface.
It is very hard, actually impossible, to solve a programming task if you do not know what exactly you are trying to achieve.
Can't find what you're looking for? Ask the community or share your knowledge.