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

Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By DanielHurtubise

Thread: How to get indices of emty lists

  1. #1
    Junior Member Aida Siala's Avatar
    Join Date
    October 25, 2017
    Posts
    27
    Current Local Time
    05:56 PM

    How to get indices of emty lists

    Hello!
    I am checking if rooms in Revit receive daylight and want to display this information in Revit.
    - How can I get the indices of empty lists of "Room.Windows" node?
    - And how can I display rooms without daylight in red color in Revit plan?

    Attached Thumbnails Attached Thumbnails How to get indices of emty lists-en.png  

  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:56 AM
    One of the tricks I've found recently is "get keys" creates a list of index numbers, so using a bool filter (is empty list perhaps) and the key list you should get a list of indexes.

    I haven't tried doing the later so I don't have any practical experience. It would depend on whether you want it to be permanent or temporary. I'd approach by writing to a parameter in the rooms that I can use to apply a color scheme, but I know there are pure Dynamo methods out there.

  3. #3
    Moderator
    Join Date
    February 2, 2011
    Location
    Montreal/Paris
    Posts
    830
    Current Local Time
    11:56 AM
    Comme ca ca devrait le faire
    How to get indices of emty lists-emptylist-index.jpg
    cellophane likes this.

  4. #4
    Junior Member Aida Siala's Avatar
    Join Date
    October 25, 2017
    Posts
    27
    Current Local Time
    05:56 PM
    Thank you so much

  5. #5
    Moderator
    Join Date
    February 2, 2011
    Location
    Montreal/Paris
    Posts
    830
    Current Local Time
    11:56 AM
    Always a pleasure

Similar Threads

  1. Questions on Lists and Item Creation
    By Bdcoll in forum Dynamo BIM
    Replies: 2
    Last Post: January 21st, 2016, 05:33 PM
  2. Sheet Lists and revision sequence
    By Mel in forum Architecture and General Revit Questions
    Replies: 4
    Last Post: September 8th, 2015, 05:51 PM
  3. Master Sheet Lists
    By ThatBIMGuy in forum Architecture and General Revit Questions
    Replies: 34
    Last Post: May 8th, 2013, 02:15 PM
  4. Predefined Lists and ways to use them
    By SuperDave in forum Architecture and General Revit Questions
    Replies: 4
    Last Post: December 5th, 2012, 02:37 AM
  5. Import key lists
    By Carin in forum Tutorials, Tips & Tricks
    Replies: 1
    Last Post: November 20th, 2012, 07:08 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
  •