Views_Project View & System Browser

Hello guys,

We have found something weird in one of our rvt files, two views that are not listed in the project browser but dynamo is listing.

These views are called Project View and System Browser

Any ideas what these are and how can we get rid of them?

We have only seen this in one file, might be because the file is damaged?

I believe these are hard coded views related to internal tools. Try selecting by ID in Revit and see what happens.

Hello
System Browser View and Project Browser are “Interface User” Views

you can try to filter them

**Python Script 2 Content **

import clr
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *

inputViews = UnwrapElement(IN[0])

OUT =  [x for x in inputViews if x.ViewType != ViewType.ProjectBrowser and 	x.ViewType != ViewType.SystemBrowser]
2 Likes

Thanks guys,

But why they are only listed on this file and not anywhere else?

Hi @c.poupin it’s possible to show the content of your Python Script 1?
Thanks in advance
Cheers

Hi @paris yes of course,

import clr

clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import  *
import Autodesk.Revit.DB as DB

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

fecView = FilteredElementCollector(doc).OfClass(View).ToElements()
ui_views = [x for x in fecView if x.ViewType == ViewType.ProjectBrowser or x.ViewType == ViewType.SystemBrowser]
OUT = ui_views
1 Like

Hi @c.poupin , great thank-you very much for your help.
Cheers