View of Detail items


#1

Dears,
I was looking for a node to get views of specific detail items.
As an example i have 5 views (a,b,c,d,e) in my revit project. However there is only filled regions (detail items) at view c and e. I was looking for a node to get c and e which only contains detail items.
Thanks.


#2

Element.OwnerView node i think from clockwork…!

i got this somewhere u can also try using this code

import clr

clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
doc =  DocumentManager.Instance.CurrentDBDocument

if isinstance(IN[0], list):
	tags = UnwrapElement(IN[0])
else:
	tags = [UnwrapElement(IN[0])]

listout = []

for x in tags:
	Id = x.OwnerViewId
	view = doc.GetElement(Id)
	listout.append(view)


OUT = listout

#3

Many thanks. Works great.