The principles of automatically updating wall legends and placing door and window wall legends are similar. When adding a wall type to the model, or completely canceling the use of a certain wall type, the wall legend naturally needs to be updated. This script accomplishes this purpose.
This node also does not come with a video, because the principle is similar to the door and window illustration.