Split Wall using Revit API

Split Wall using Revit API

Anonymous
Not applicable
4,980 Views
6 Replies
Message 1 of 7

Split Wall using Revit API

Anonymous
Not applicable

Hi,

Hope you are doing great. I would like to ask you a question regarding splitting the wall.

 

Question:

I have a wall and have to split it using Revit API. I have placement points as an input and need to split the wall based on those points. Do we have any command to achieve this using Revit API?

 

Your help would be greatly appreciated!

 

Thanks in advance,

Jyoti

0 Likes
4,981 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable

Jyoti,

 

Revit doesn't come with any type of intersect or split elements. I have something started. You can find the code here:

 

https://github.com/chhadidg/EditElements

 

It works so far for the beams. I didn't have time to finish this. Maybe one day. Feel free to use the code.

 

regards

Christian 

0 Likes
Message 3 of 7

jeremytammik
Autodesk
Autodesk

Dear Jyoti,

 

What do you mean by split wall? You can split certain family instances, such as beams, columns, etc. using the FamilyInstance.Split method. That does not apply to walls, however. You can split faces on a wall to apply different materials. For that, please refer to the FaceSplitter class.

 

Cheers,

 

Jeremy

 

c.f. http://stackoverflow.com/questions/39494159/split-wall-using-revit-api/39506899#39506899



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 4 of 7

Anonymous
Not applicable

I still think for walls you would need to generate the new placement lines for the walls.

0 Likes
Message 5 of 7

Anonymous
Not applicable

Hi Jeremy,

 

I want to implement a functionality similar  to "Split with Gap" tool which we have in Revit 2015. Please let me know how to use this tool/implement it's functionality using Revit 2015 API.

 

Thanks,

Jyoti

0 Likes
Message 6 of 7

boostyourbim
Advocate
Advocate
Message 7 of 7

jeremy_tammik
Alumni
Alumni

Further discussion on this topic in this thread:

  

  

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