Announcements

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

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: 

Trace boundary like bPoly/BHatch

1 REPLY 1
Reply
Message 1 of 2
ratno123s
488 Views, 1 Reply

Trace boundary like bPoly/BHatch

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.

1 REPLY 1
Message 2 of 2
RPTHOMAS108
in reply to: ratno123s

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.

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

Post to forums  

Autodesk Design & Make Report