Creates a new wall foundation within the project.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static WallFoundation Create(
Document document,
ElementId typeId,
ElementId wallId
)
Parameters
- document Document
-
The document.
- typeId ElementId
-
The id of the wall foundation type of the newly created wall foundation.
- wallId ElementId
-
The id of the host wall of the newly created wall foundation.
Return Value
WallFoundation
If successful, returns the newly created wall foundation,
null otherwise.
Exceptions
See Also
Reference