Apply Scope Box to List of Dependent Views


I’m trying to make a simple script that creates dependent views from a list of parent views and then applies scope box to each dependent view.

The script creates dependent views correctly, 4 dependent views for each of the 7 parent views, but scope boxes don’t get applied properly. I’ll end up having the last scope box in a list applied to all the views.

I’ve been staring at this for too long and I can’t see where I missed a step. Any help is appreciated! Thanks.

I have found a workaround that gives the end result that I want but I’m wondering if there is a cleaner way? Currently, you will need to target the list of plans manually with a “List.GetItemAtIndex” node and Code Block, which I’m not a fan of.

If anyone knows of a better way please let me know. Thanks!


Use Data Shapes UI package to be able to select what you want.

Use a single List.GetItemAtIndex node, with a range from 0 to 3 (design script code is 0..3;), and set the lacing or list levels accordingly.

Sorry for the late response. I’m still very new to Dynamo and haven’t used Data Shapes before but it’s something to explore as a possibility.

Jacob, that’s pretty much what I thought. Thanks.