Results 1 to 3 of 3

Thread: How to set Revit parameters from excel file in Dynamo to certain family instances

  1.    #1
    Junior Member
    Join Date
    April 16, 2019
    Posts
    9
    Current Local Time
    09:07 PM

    Not allowed! Not allowed!

    How to set Revit parameters from excel file in Dynamo to certain family instances

    Hello.

    I have 5 of the same family type on the sheet. Each of them have a different value in the "Mark" parameter (a,b,c,d,e).
    Now I want to tell Dynamo to set a unique comment from an excel file to each "Comment" parameter of the 5 family instances. But I want them associated with the mark parameter.

    I want each of the familiy instances to have in their properties:

    Mark: a
    Comments: test1

    Mark: b
    Comments: test2

    Mark: c
    Comments: test3

    ...and so on...


    Basicaly I want Dynamo to send data from an excel file to certain family instances. I know I can get Dynamo to select the elements but I want to know how to get the familiy type and then set the parameters because that would be easier if I had hundred instances of the family type ...... Im lost from here...



    What my script is doing now is that it is setting all my "type mark" parameters in all 5 family instances to "test4" - Can I some how sort it? And yes I am setting them to the "type mark" parameter now because I dont know how to set them to the "mark".. I need help. Thank you.

    Please have a look at the attachments.
    Attached Thumbnails Attached Thumbnails 5 edb.png   excel eksempel.png   script.png  

  2.    #2
    Member
    Join Date
    November 4, 2012
    Posts
    85
    Current Local Time
    09:07 PM

    1 Not allowed! Not allowed!
    You have to modify the instances, not the family type. Use the All Elements Of Family Type node, than sort them by the value of the parameter Mark, than add the parameter values to the Comment parameter. See the attached image.
    Click image for larger version. 

Name:	2019-11-12_19-55-32.png 
Views:	21 
Size:	46.7 KB 
ID:	37784

  3.    #3
    Junior Member
    Join Date
    April 16, 2019
    Posts
    9
    Current Local Time
    09:07 PM

    Not allowed! Not allowed!
    Thank you!! Now its working perfectly..

Similar Threads

  1. Replies: 1
    Last Post: August 25th, 2017, 11:25 PM
  2. Family Parameters driven by Excel??
    By billiam in forum Architecture - Family Creation
    Replies: 15
    Last Post: August 16th, 2016, 09:23 PM
  3. Revit to/from Excel with Dynamo
    By josephpeel in forum MEP - General
    Replies: 2
    Last Post: October 13th, 2014, 05:26 PM
  4. Replies: 0
    Last Post: October 17th, 2013, 10:16 AM
  5. Family With Multiple Parameters ( excel style format)
    By JCM in forum Architecture - Family Creation
    Replies: 3
    Last Post: December 28th, 2010, 04:51 PM

Tags for this Thread

Posting Permissions

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