Editing wall profile according to the intersected elements

Editing wall profile according to the intersected elements

Vipin.Vijayakrishnan
Observer Observer
419 Views
2 Replies
Message 1 of 3

Editing wall profile according to the intersected elements

Vipin.Vijayakrishnan
Observer
Observer

Hi everyone,

 

I'm trying to edit wall profile according to the elements attached to the top of the wall. For example, we have a wall and it is attached to the floor and beams at the top of the wall.

 

VipinVijayakrishnan_0-1690284571015.png

 

 

Initially, the wall has rectangular profile.

VipinVijayakrishnan_1-1690284641979.png

 

I need to edit the wall profile according to the intersection of floor and beams to the wall. The resultant profile should look like the following.

VipinVijayakrishnan_2-1690284702737.png

I tried substracting the solids of floor and beams from wall solid. But I don't get the expected result. Could anyone please help me to achieve this case using revit api?

 

Thanks in advance.

 

0 Likes
420 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

Do we really have to re-answer every possible question every single week? 

   

We discussed editing a wall profile right here in the forum just eight days ago:

   

   

Could you check whether your question has already been answered there?

   

Thank you!

    

Actually, looking closer, the answer last week was pretty strongly UI-oriented. It is not clear from your question whether you are looking for a manual end user UI solution or a pure API programming approach. If it is the latter, please read on:

  

In Revit 2022, the SketchEditScope was implemented to support editing wall profile sketches:

  

  

Check out the developer guide for information on how to use it:

  

  

Here is some live sample code showing how to use it here in the forum:

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

Vipin.Vijayakrishnan
Observer
Observer

Thanks @jeremy_tammik. I'll try the SketchEditScope to achive my requirement. Hope it will solve my issue. Thanks for your response.

0 Likes