InvalidOperationException when creating a wall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This question is related to a previous question of mine asked a year ago. Anyone knows what can throw an InvalidOperationException when creating a wall?
I get only as a message: "Failed to create the wall" when using:
Wall wall = Wall.Create(document, curve, wallType.Id, level.Id, structural: false);
Below are the coordinates of the 3D points defining the wall. You can see they have centimetric accuracy, besides Revit isn't complaning about points not belonging to the plane, so I'm not sure where to look!:
{(-223.91, -150.83, 50.42)}
{(-222.78, -150.23, 50.41)}
{(-220.18, -148.84, 50.39)}
{(-210.77, -143.81, 50.39)}
{(-205.70, -141.10, 50.39)}
{(-205.48, -140.98, 50.39)}
{(-204.02, -140.20, 50.36)}
{(-204.06, -140.23, 23.34)}
{(-204.08, -140.23, 16.81)}
{(-225.27, -151.56, 16.81)}
{(-225.26, -151.55, 50.37)}