No announcement yet.

List All Available Types of Floors and Walls

  • Filter
  • Time
  • Show
Clear All
new posts

    List All Available Types of Floors and Walls

    Dear dynamo experts,

    I am having problem to list out all available system family and types for floors and walls.
    This is what i have tried so far.

    Is there a solution?

    Attached Files

    I don't have time to look at goal, but I do see two custom nodes that have a "Toggle" input with nothing being fed into them. Some nodes that have that to keep them running by default and have to have "true" fed to that input, which could explain the empty list.
    Julie Kidder
    Architect + BIM Director
    Hartman + Majewski Design Group


      Hello Mimi,

      This is one way to do it with Out of the Box Nodes

      Attached Files

      Sol Amour

      Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
      Portfolio Website @ Cargo Collective


        Dear Sol Amour,

        I actually want list of all available family and types, the objective is to list all family and types used and also those are available but not used. One of the reason so that we can check and set the naming convention for families and also types. I can extract these for all other categories except for categories with system family.

        Thanks anyway.


          Hello Mimi,

          This should be something closer to what you're after:

          Attached Files

          Sol Amour

          Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
          Portfolio Website @ Cargo Collective


            Great amoursol.

            It solved the problem, except for the Stacked Wall and and Slab Edge that need special handling.


            Just copy back the python script for other's reference:

            import clr
            import Revit
            import RevitServices
            from RevitServices.Persistence import DocumentManager
            import Autodesk
            from Autodesk.Revit.DB import *
            import System
            from System.Collections.Generic import *

            doc = DocumentManager.Instance.CurrentDBDocument
            colWallInstances = FilteredElementCollector(doc).OfCategory(BuiltInCa tegory.OST_Walls).WhereElementIsNotElementType().T oElements()
            colWallTypes = FilteredElementCollector(doc).OfCategory(BuiltInCa tegory.OST_Walls).WhereElementIsElementType().ToEl ements()
            colFloorInstances = FilteredElementCollector(doc).OfCategory(BuiltInCa tegory.OST_Floors).WhereElementIsNotElementType(). ToElements()
            colFloorTypes = FilteredElementCollector(doc).OfCategory(BuiltInCa tegory.OST_Floors).WhereElementIsElementType().ToE lements()

            OUT = colWallInstances,colWallTypes,colFloorInstances,co lFloorTypes


              Hi Sol

              This post has been great help for me to also collect all of the system element types and instances in the browser of the model - by copying your Python script. I am a novice with Python. Would you be able to help quickly to use this to collect all of the Duct, Pipes and Cable Trays types and instances? What do I need to alter in the script? Just changing walls to ducts does not work.

              Many thanks



                The short answer (from a non-python person) is that you need to change out the category names (i.e. BuiltInCategory.OST_Walls) for the equivalent name for what you are trying to pull information from. You should be able to pull that from APIDocs
                Revit for newbies - A starting point for RFO

                BEER: Better, Efficient, Elegant, Repeatable.


                  Thank you very much for this! Worked perfectly.



                  Related Topics


                  • Get a list of all family types in project

                    Does someone know a way to get a list of all family types in the project? In the picture I attached I could get only one family type....
                    April 1, 2016, 01:27 PM
                  • Drop Down List Parameter
                    Hi everyone

                    Is it possible to create a drop down list as a family parameter? In my example, I have a grabrail which is available in three...
                    August 1, 2017, 11:33 PM
                  • List Clean on Another List
                    Good day all,

                    Is there a way to use List.Clean and know which list items were removed so I can remove the same items from another list? ...
                    September 28, 2017, 03:42 PM
                  • Rtcna '16
                    Trying to get a feel for the opinion on a topic I want to present at next year's RTCNA.

                    I was wondering what everyone's most common questions...
                    November 17, 2015, 01:55 PM
                  • key-values
                    any easy way to process 2 lists into 1 key-values list just like dictionary in C#?
                    list 1 is like {a, b, a, c, b, a}
                    list 2 is like {1, 2,...
                    January 25, 2017, 03:06 AM