Hello all,
I am relatively new with Dynamo but super excited, and I hope you guys can help me with some problems I am having with the custom node “Scope boxes to Views” from the Modelical package.
In short:
In some situations the node works fine, while in others it just returns “null”. In these cases the node did create views, but not all of them. It also did not give the created views the correct names.
This is my script:
What the script does:
In our project we have scope boxes for the housing blocks and already have several views (floor plans and elevations) for these blocks. These views always contain the name of the block (blok A, blok B, blok C, etc.). We also have scope boxes for all the houses in the different blocks (BNR 01, BNR 02, BNR 03, etc.). What we want now is to create dependent views for each house within a block.
More info:
As input for the node I have a list with 60 sublists for the views and a list with 60 sublists for the scope boxes.
The problems occur for the houses of Block A and Block B (sublist 0-22 and 57-59 of the list of views). For the houses of the other blocks, the script works fine.
The only difference I can find between the working sublists and the ‘defect’ sublists, is the length of the sublist. The ones for which the script works, only contain 8 views. The other ones are longer (containing 15 or 16 views).
I can only upload 1 image per post (rule for new users) so I will share more images in replies.