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

Results 1 to 10 of 10
Like Tree1Likes
  • 1 Post By cellophane

Thread: Extract Family Locations

  1. #1
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:43 AM

    Extract Family Locations

    Is there a way through Dynamo to extract family save-as locations? What I'm looking for is an output similar to what is obtained using CTC Family Loader that reports the save-as path for all loaded families, similar to the attached image. I've found a number of nodes to pull document (project) location information but nothing that I can find that will get the family information. End goal for this is to dump the information into Excel for processing.
    Attached Thumbnails Attached Thumbnails Extract Family Locations-familylocation-all.png  
    JWR likes this.

  2. #2
    Junior Member kraftwerk's Avatar
    Join Date
    November 1, 2012
    Location
    St. Louis, MO
    Posts
    29
    Current Local Time
    11:43 PM
    Are you wanting to batch run this on a list of families in a project or template? If not, then wouldn't the CTCFL be just as fast?

  3. #3
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:43 AM
    I'm trying to add it into a series of model health graphs and hoping to click once (or twice) and have everything output, rather than running the dynamo, then running the CTC tool, then running some other tool, then trying to combine data from several excel files, and so-on.

  4. #4
    Member Bjorn_K's Avatar
    Join Date
    April 8, 2011
    Location
    Rotterdam, Netherlands
    Posts
    313
    Current Local Time
    06:43 AM
    https://forum.dynamobim.com/t/get-fi...-families/4014

    The Python snippet here seems to do what you're after?

  5. #5
    Junior Member kraftwerk's Avatar
    Join Date
    November 1, 2012
    Location
    St. Louis, MO
    Posts
    29
    Current Local Time
    11:43 PM
    Sorry for not replying. The previous post seems to be what you are after. For batch processing project files, there is a way with DynamoAutomation package. I've also had my eye on this utility from BVN: https://github.com/bvn-architecture/RevitBatchProcessor

  6. #6
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:43 AM
    Nice one! (Bjorn & kraftwerk) I'll take a look and see what I can figure out.

  7. #7
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:43 AM
    Is there a good way to filter system families out of my selection other than collecting categories?

    edit: also the stupid family constraint warning...
    edit2: python script works, other than the previously mentioned system family issue and the stupid family constraint thing...
    Attached Thumbnails Attached Thumbnails Extract Family Locations-getfamilypythonerror.png   Extract Family Locations-getfamilyconstraints.png  
    Last edited by cellophane; February 28th, 2019 at 09:26 PM.

  8. #8
    Forum Addict elton williams's Avatar
    Join Date
    December 7, 2010
    Location
    Gold Coast
    Posts
    2,602
    Current Local Time
    02:43 PM
    Quote Originally Posted by cellophane View Post
    Is there a good way to filter system families out of my selection other than collecting categories?

    edit: also the stupid family constraint warning...
    edit2: python script works, other than the previously mentioned system family issue and the stupid family constraint thing...
    I think if you select Family Symbol from an element types node it will only return loaded families. Can't be sure atm because I'm eating lunch *nom nom nom*

  9. #9
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:43 AM
    I couldn't figure out the Family Symbol part but I did manage to get something working. Although I'm wondering if the issue had to do with a family name more than System / Loaded families. More testing!

    edit: the last List.GetItemAtIndex node was there just to cut the list down a bit for testing so I wasn't waiting for it to process 500 families It can be removed long term.
    Attached Thumbnails Attached Thumbnails Extract Family Locations-familylocation.png  
    Last edited by cellophane; March 1st, 2019 at 04:29 PM.

  10. #10
    Junior Member kraftwerk's Avatar
    Join Date
    November 1, 2012
    Location
    St. Louis, MO
    Posts
    29
    Current Local Time
    11:43 PM
    You might want something like in the attached image. This is getting just the instances placed in the document and reporting back the family file path location. There is also a node that would work more with what you have that is FamilyType.Family which will return the Family of the given Family Type, which is what you are gathering in the very first node.

    While it is good that you are documenting as you go, a word of warning that the more custom nodes that you add to the graph, the more likely it is that the graph becomes corrupt (as nodes are upgraded, no longer work with the Dynamo application, etc.).
    Attached Thumbnails Attached Thumbnails Extract Family Locations-2019-03-01_12-57-44.png  

Similar Threads

  1. Titleblock Locations
    By cellophane in forum Dynamo BIM
    Replies: 9
    Last Post: June 26th, 2018, 01:54 PM
  2. Replies: 3
    Last Post: September 1st, 2016, 09:59 PM
  3. Family Locations
    By ESD ltd in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: November 14th, 2014, 05:26 PM
  4. Locations of Equipment
    By domsib in forum MEP - General
    Replies: 7
    Last Post: April 12th, 2013, 03:27 PM
  5. Replies: 0
    Last Post: November 28th, 2012, 12:49 PM

Posting Permissions

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