Message 1 of 2
Walls are not automatically joined
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
If I draw two simple walls with this code
var firstCurve = Line.CreateBound(new XYZ(0, 0, 0), new XYZ(5, 0, 0));
var secondCurve = Line.CreateBound(new XYZ(5, 0, 0), new XYZ(10, 0, 0));
Wall.Create(doc, firstCurve, new RDocument(doc).Levels.First().Id, false);
Wall.Create(doc, secondCurve, new RDocument(doc).Levels.First().Id, false);the walls are not automatically joined into one wall even that they have the same parameters and they are two separate walls
the same two walls if they are drawn manually in Revit they are joined into one wall as shown in figure
of course this example is simple but I'm working on a complex project that creates a wall between two walls .. by using API I get three separate walls but if done using Revit manually I get one equivalent wall only
so I want to know how to handle that case using API I tried to make a small overlap between these walls but it's not working.
Developer Advocacy and Support +