WallFoundation.Create
Description:
Creates a new wall foundation within the project.
Creates a new wall foundation within the project.
public static WallFoundation Create(
Document document,
ElementId typeId,
ElementId wallId
)
-
documentThe document.
-
typeIdThe id of the wall foundation type of the newly created wall foundation.
-
wallIdThe id of the host wall of the newly created wall foundation.
Return Value
nullNothingnullptr
If successful, returns the newly created wall foundation, null Nothing nullptr a null reference ( Nothing in Visual Basic) otherwise.
-
typeId is not a valid WallFoundationType id. -or- wallId does not refer to a valid wall.
-
A non-optional argument was null