Revit Dynamo - Combine two parameters in dynamo into one and report it back to Revit

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ต.ค. 2024

ความคิดเห็น • 8

  • @TheDigitalController
    @TheDigitalController 2 หลายเดือนก่อน +1

    Really great video!! Thx from Brazil! 😁

  • @RomanMerdas
    @RomanMerdas 7 หลายเดือนก่อน +1

    Thanks for the video. I've tried to prepare my script with your guidelines, but it doesn't work with Number and Yes/No parameters. Is it possible to ask you to show how to combine a 4-5 parameters (some of them are "Number", "Yes/No" and "Angle"). There are parameters of Instance and Type. Thank you very much for all your help

    • @EngineerBear90
      @EngineerBear90  7 หลายเดือนก่อน

      Hey.
      Thank you:) And it is a great suggestion for a video, a deep dive into combining parameters, I might do that one day.
      To answer you question.
      1. Combining several parameters can be done! Just increase the number of list inputs in the node List.Combine, you also must increase the inputs for the node String.Concat, and every other input must be filled with the code block value "-".
      2. Combine a number with the combined text with the node +.
      3. To retrieve a type parameter the node Elements.GetParameterValueByNameTypeOrInstance from the package rhythm must be used.
      4. The yes/no parameter can be retrieved just like a normal parameter, the output value will be 1 or 0, and this can be changed to yes or no with an IF statement.

  • @andreypawlow
    @andreypawlow 10 หลายเดือนก่อน +1

    y r great teacher!

  • @triaprabawati
    @triaprabawati ปีที่แล้ว

    Hi, thank you so much for the video. This is exactly what I have been looking for and is also very easy to follow. I have questions on how to apply the script for other categories? Is there any quick way rather than edit the script to suit the categories one by one? For example, I need to join several parameters for all the categories (cable tray, lighting, fire alarm, etc). Thank you.

    • @EngineerBear90
      @EngineerBear90  ปีที่แล้ว

      Hi, thank you :) Yes, its possible! I would try to make the node as an input parameter, meaning you dont need to enter the dynamo script, rather just use dynamo player and find the category you need in the drop down menu. To make the script dynamo player ready you do need to open the script, press the categories node and check the "is output" value. To combine several parameters, click the + sign on the node String.concat and list combine.