An object that represents a wall foundation element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2016
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
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);
}

Public Sub GetInfo_WallFoundation(wallFoundation As WallFoundation)
Dim message As String = "Wall Foundation : "
' Get Footing type name
Dim doc As Document = wallFoundation.Document
message += vbLf & "Foundation type name is : " & Convert.ToString(doc.GetElement(wallFoundation.GetTypeId()).Name)
TaskDialog.Show("Revit", message)
End Sub