You can create your own code or use mine at the link. https://sites.google.com/site/enjoyrevit/dynamo/cut-walls-by-linked-structure
No download links available.