i use Element Types + All Elements Of Types Nodes to collect all of my loaded windows, but it return all of my revit families, how can i collect all of my loaded windows in this way or in any other way ?
Assuming you’re looking for all instances of the category ‘window’, try an
All Elements of Category node, and a
Types will return the family types rather than the instances.
Hi Jacob, i need some nodes to collect these window types or any other window types those are exist in this section(project browser --> families --> windows) not just instances .
I might use Python for this…
import clr clr.AddReference("RevitServices") import RevitServices from RevitServices.Persistence import DocumentManager doc = DocumentManager.Instance.CurrentDBDocument clr.AddReference("RevitAPI") from Autodesk.Revit.DB import * doc = DocumentManager.Instance.CurrentDBDocument OUT = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Windows).WhereElementIsElementType().ToElements()
Mostly a Built In Category just has OST_ infront of the name… You can find a complete list of built in categories here…
If you would like to do more sophisticated things with your FEC, this is a great resource…
Hopefully that is useful.
Wow, it works !
thank you sooo much