Creates a new wall foundation object. 
   Namespace:   Autodesk.Revit.Creation  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0) 
Syntax
| C# | 
|---|
   |  
| Visual Basic | 
|---|
   |  
| Visual C++ | 
|---|
   |  
Parameters
- wallFoundationType
 -  Type:  Autodesk.Revit.DB WallFoundationType  
The WallFoundation type. 
- wall
 -  Type:  Autodesk.Revit.DB Wall  
The Wall to append a WallFoundation. 
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | Thrown if the wall foundation type does not exist in the given document. | 
| Autodesk.Revit.Exceptions ArgumentException | Thrown if the wall does not exist in the given document. |