Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Trace boundary like bPoly/BHatch

ratno123s
Contributor
Contributor

Trace boundary like bPoly/BHatch

ratno123s
Contributor
Contributor

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.

0 Likes
Reply
491 Views
1 Reply
Reply (1)

RPTHOMAS108
Mentor
Mentor

Probably nearest to your request is the creation of rooms/spaces and analysing their boundaries.

 

https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/EN...

 

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.

0 Likes