Replace a component in the building tables by another

replace_component(
  component,
  replacement,
  what,
  sub_type = NULL,
  selection = NULL
)

Arguments

component

the model where a component will be replaced

replacement

characteristics of the replacement

what

the element to be replaced

sub_type

add information to the component

selection

the rooms where measures will be applied

Value

the model with the changes on the XML data tables due to the measures