TypeError: iteration over non-sequence of type ViewSection

python
dynamo

#1

Hi,

can you suggest me how to solve this error iteration over non-sequence of type ViewSection.


#2

@robert12546358 If you want to save your time just use Rhythm node “Viewport.Create”. Cheers!


#3

Thanks for your reply

i tried but, is not working.(see image)


#4

That error is because your views are placed in one of the sheet. Make sure your views which your feeding is not placed in any sheet.


#5

views are obtained from assembly views(use node “Tool.AssemblyViews” )

so it’s maybe not working?