Trace boundary like bPoly/BHatch

Trace boundary like bPoly/BHatch

ratno123s
Contributor Contributor
758 Views
1 Reply
Message 1 of 2

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
759 Views
1 Reply
Reply (1)
Message 2 of 2

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