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.
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, list): tags = UnwrapElement(IN) else: tags = [UnwrapElement(IN)] listout =  for x in tags: Id = x.OwnerViewId view = doc.GetElement(Id) listout.append(view) OUT = listout
Many thanks. Works great.