Results 1 to 2 of 2

Thread: Dynamo_Set Parameter of element follow by the space number

  1. #1
    New Member
    Join Date
    October 31, 2018
    Posts
    1
    Current Local Time
    02:31 AM

    Dynamo_Set Parameter of element follow by the space number

    Dear All ,
    I m a newbie in here. Nice to meet you all.

    btw, i have some difficuilty to set the parameter of the element follow by the space number.

    I have collected the space bounding box and the element containing in it's space bounding box (refer to the attached capture). what i want to to do is to set parameter of the element follow by it's space number. Eg. 600x600 Fresh air grille _1299 (Element_space number), Exhaust air grille_1300, 600x600 Fresh air grille_1300, etc....

    your kind advise is highly appreciated.
    Attached Thumbnails Attached Thumbnails Dynamo_Set Parameter of element follow by the space number-query.png  

  2. #2
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,382
    Current Local Time
    07:31 PM
    Solving this will be all about how you sort the data.
    Its hard to say exactly how you should do that without seeing an example, but you will need to create 3 lists of data.
    - A list of the family instances (Not just the names, the actual families with the green ID number after the type name)
    - A list of the type names. To combine into a string with the Space number.
    - A list of the Space number for each family instance. (Use Count and List of repeated item to make a list the same length as the family list)
    These lists must be the same length and in the same order.
    If you get that far you can easily write the data into a new parameter using Set Parameter by Name.

Similar Threads

  1. Replies: 0
    Last Post: January 17th, 2018, 06:15 AM
  2. The space name and number does not show up
    By Scream in forum MEP - General
    Replies: 0
    Last Post: May 2nd, 2017, 02:19 AM
  3. Replies: 20
    Last Post: November 23rd, 2015, 09:31 AM
  4. Room Number & Space Number
    By LKeyser in forum MEP - General
    Replies: 3
    Last Post: July 3rd, 2012, 02:48 PM
  5. space w/ room name & number of linked arch model
    By Ning Zhou in forum MEP - General
    Replies: 2
    Last Post: November 23rd, 2011, 05:41 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
  •