Is there a command I can use to clear the messages in the WB project schematic ?
Yes, ClearMessages() can be used.
ClearMessages()