Batch Disallow Walls By ID List

This works by feeding a list of IDs, and those walls will be set to have both ends set to “Disallow Join”.
(I like pasting the ID because then I can use IDs from my excel files.)

Uses arch-lab get current document because I am lazy.

Any thoughts to improve this? Maybe add error handler of non-wall objects?

PS: Just found a similar discussion/solution here
http://dynamobim.org/forums/topic/disallow-join-of-the-wall/

 

DisallowByIDs