Announcement

Collapse
No announcement yet.

Set calculated parameter of all type

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Set calculated parameter of all type

    Hi There,

    I'm triyng to set a parameter of all types under one loadable family.
    All values are different and need to be increased by 5.
    So i've managed to create a srcript that does work, only for one type at a time.
    That leaves me to run the script for 30 times since i have that many types under this one family.

    I've also managed to select all the types under this one family.
    Only I can't feed the whole list into Element.SetParameterByName.
    I can see why, because it is Element and not Elements.

    So does anyone have an idea on how to run this for multiple types at once?SetParameterByName.png
    http://bross.webklik.nl/page/homepage
    www.vanbragtbv.nl

    #2
    If you have multiple elements you will need to create a sequence.

    Pasted image at 2017_03_24 03_14 PM.png

    Comment


      #3
      Thanks for the reply.

      I'm pretty new to dynamo, so i kind of get you how to solve the problem.
      The sequence would mean that I tell Dynamo to run the script over and over again, untill it got pass all of the types then?
      http://bross.webklik.nl/page/homepage
      www.vanbragtbv.nl

      Comment


        #4
        SetParameterByName_solution.png

        And then by surprise it seems I could just feed a list of multiple element in the get and setparameterbyname.
        And just that easy I have my solution.
        http://bross.webklik.nl/page/homepage
        www.vanbragtbv.nl

        Comment

        Related Topics

        Collapse

        Working...
        X