Message 1 of 7
Window doesn't cut through wall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am placing a window via the .NET API using the NewFamilyInstance() method via the code:
document.Create.NewFamilyInstance(new XYZ(X, Y, Z), symbol, wall, doc.GetElement(wall.LevelId) as Level, StructuralType.Beam);.
However the window does not cut through the wall(see image included). However, after the window is placed, changing the "Sill Height" manually(see image included), the window does cut through the wall.
I have tried adding Document.Regenerate() before calling Transaction.Transmit(),
tried to change the Sill Height in code, tried flipping the window twice, as per suggestions in existing similar issues in this Forum, but to not avail.
What might be the issue?