Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Results 1 to 6 of 6
Like Tree5Likes
  • 2 Post By amoursol
  • 3 Post By amoursol

Thread: List All Available Types of Floors and Walls

  1. #1
    Junior Member
    Join Date
    March 16, 2017
    Location
    Malaysia
    Posts
    16
    Current Local Time
    04:45 PM

    Question 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?

    Thanks.
    Attached Thumbnails Attached Thumbnails List All Available Types of Floors and Walls-floorwalltypetest.png  
    Attached Files Attached Files

  2. #2
    jmk
    jmk is offline
    Forum Addict jmk's Avatar
    Join Date
    December 31, 2012
    Location
    NM, USA
    Posts
    1,415
    Current Local Time
    10:45 AM
    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.

  3. #3
    Senior Member amoursol's Avatar
    Join Date
    November 21, 2012
    Location
    London, United Kingdom
    Posts
    612
    Current Local Time
    05:45 PM
    Hello Mimi,

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

    Attached Thumbnails Attached Thumbnails List All Available Types of Floors and Walls-revitforumquery_floorwalltypes.jpg  
    OllieGreen and PolynineStudio like this.

  4. #4
    Junior Member
    Join Date
    March 16, 2017
    Location
    Malaysia
    Posts
    16
    Current Local Time
    04:45 PM
    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.

  5. #5
    Senior Member amoursol's Avatar
    Join Date
    November 21, 2012
    Location
    London, United Kingdom
    Posts
    612
    Current Local Time
    05:45 PM
    Hello Mimi,

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

    Attached Thumbnails Attached Thumbnails List All Available Types of Floors and Walls-revitforumquery_wall_and_floor_collectors.png  

  6. #6
    Junior Member
    Join Date
    March 16, 2017
    Location
    Malaysia
    Posts
    16
    Current Local Time
    04:45 PM
    Great amoursol.

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

    Thanks.


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

    import clr
    clr.AddReference('RevitNodes')
    import Revit
    clr.ImportExtensions(Revit.Elements)
    clr.AddReference('RevitServices')
    import RevitServices
    from RevitServices.Persistence import DocumentManager
    clr.AddReference('RevitAPI')
    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

Similar Threads

  1. Continuity between walls and floors
    By piper76 in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: August 29th, 2016, 11:08 PM
  2. Get a list of all family types in project
    By engineer in forum Dynamo BIM
    Replies: 2
    Last Post: April 1st, 2016, 07:07 PM
  3. Floors - separate or join with walls?
    By cellophane in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: January 10th, 2015, 09:18 PM
  4. SFL, FFL, floors, walls and doors
    By anthonyB in forum Architecture and General Revit Questions
    Replies: 12
    Last Post: September 28th, 2014, 10:20 PM
  5. Floors Geometry Showing Through Walls
    By qutaibah in forum Architecture and General Revit Questions
    Replies: 4
    Last Post: July 30th, 2013, 11:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •