Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
I have in api the curves on a plane (Wall Face plane) as shown in fig1. The curves may be the edges of the adjascent elements. Now when the use picks a point on the plane where the red dot is in the fig 2 I would like to have the boundary lines as shown by the red dotted line.
Is there any method in revit api like Editor.TraceBoundary() in Autocad api??
If not Please suggest a way to achieve such logic.
Probably nearest to your request is the creation of rooms/spaces and analysing their boundaries.
I don't like the creation of temporary things just to solve a problem so there may be a more direct approach with ReferenceIntersector i.e. cast rays like a laser survey in various directions and find closest intersection of walls to identify the elements bounding the point. Discard duplicate items and form boundary based on remaining wall location lines etc.
I'm sure this has been solved similarly elsewhere.
Can't find what you're looking for? Ask the community or share your knowledge.