Use the Structural Foundation: Wall tool to place a wall foundation beneath a structural wall. Select a bearing or retaining wall foundation type from the Type Selector.
 Foundation panel
Foundation panel 
  (Wall)
 (Wall) 
Wall foundations are constrained to the walls that they support and move with them.