RVTDocs.com
Namespace: Autodesk.Revit.DB

WallFoundation

Class
Description:
An object that represents a wall foundation element.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Element
    Autodesk.Revit.DB.HostObject
      Autodesk.Revit.DB.WallFoundation
Syntax
public class WallFoundation : HostObject
Examples
public void GetInfo_WallFoundation(WallFoundation wallFoundation)
{
    string message = "Wall Foundation : ";
    // Get Footing type name
    Document doc = wallFoundation.Document;
    message += "\nFoundation type name is : " + doc.GetElement(wallFoundation.GetTypeId()).Name;

    TaskDialog.Show("Revit",message);
}