Remove wall bases

I am fairly new to dynamo, Is it possible to automate removing wall bases from all the walls in the model?

Likely the answer is yes, but how to do so depends on a lot of factors. Please give specific examples and post what you have tried so we can guide you along. Also if you haven’t yet done so, run through the Dynamo Primer to familiarize yourself with the various terms and concepts. Don’t skip any exercise no matter how mundane or inapplicable it may feel.

http://dynamoprimer.com/en/