Need list in inversely

I need a list Inversely ….I need ST only show remains all other need to hide. I have attached all required files.

Workset by view.dyn (26.7 KB)

You might not need a list to do that.
See if this helps.

Not working…same as above

Not sure why it wouldn’t work on your end. It works flawlessly for me.
Did you try deleting the already created views and then run the graph?
Also, can you share the dyn you used?

If you need a list, here is the code for it

# Compiled by Amol Shah, August 2020
# @AmolShah1103
out = []
for i in range(len(IN[0])):
	flag = []
	for j in range(len(IN[0])):
		if(i == j):
OUT = out
1 Like