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?Click image for larger version

Name:	SetParameterByName.png
Views:	1
Size:	250.5 KB
ID:	415354
    http://bross.webklik.nl/page/homepage
    www.vanbragtbv.nl

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

    Click image for larger version

Name:	Pasted image at 2017_03_24 03_14 PM.png
Views:	1
Size:	117.6 KB
ID:	392560

    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
        Click image for larger version

Name:	SetParameterByName_solution.png
Views:	1
Size:	335.8 KB
ID:	392561

        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