Announcement

Collapse
No announcement yet.

Setting Revit Parameter by "Phase Created"

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

    Setting Revit Parameter by "Phase Created"

    I am very new to Dynamo. This is my first kick at the can and I am trying to use dynamo to eliminate some user inputs in our structural projects. I have a custom parameter "Tag Prefix" attached to multiple categories, including structural framing, and our structural framing tag references the "Tag Prefix""Type Name" to give us a tag that reads (N)W12x26. What I am trying to accomplish is to set the "Tag Prefix" parameter based on the "Phase Created". I have attached my first try. Obviously I have something wrong since it only sets (E) to all structural framing. Thanks in advance for your help.
    Attached Files
    Last edited by bteskey; January 26, 2018, 04:11 PM.

    #2
    Your IF statement is currently only pushing the value E through to the families. Your best option is probably to filter your columns by phase and then push the values that way. See attached for one option on filtering the list.
    Attached Files
    Revit for newbies - A starting point for RFO


    chad
    BEER: Better, Efficient, Elegant, Repeatable.

    Comment


      #3
      Thanks for your help! I am still not sure how exactly to set the parameter value. I am still getting an error in the final step on the attached image.
      Attached Files

      Comment


        #4
        You may only change parameters that are listed in Elements.Parameters node. Even this not always works.



        Another thing to remember is that Revit considers walls, beams etc. as separate objects from their tags.

        Consider a workflow where you change a parameter in your structural framing element and tags just display this information.
        Attached Files
        Last edited by TomekTomek; January 27, 2018, 05:33 PM.

        Comment


          #5
          Could you elaborate further? This sounds like something I would be interested in as well.

          Thank you!

          Comment


            #6
            Originally posted by bteskey View Post
            Thanks for your help! I am still not sure how exactly to set the parameter value. I am still getting an error in the final step on the attached image.
            Instead of stringing the Element.Name nodes, go directly from the List.FilterByBoolMask into the SetParameter nodes. The SetParameter node is expecting an element, not a string. If you mouse over the warning dialog it should say something about how it is expecting an array rather than a string (I don't have it open at the moment to double check..)
            Revit for newbies - A starting point for RFO


            chad
            BEER: Better, Efficient, Elegant, Repeatable.

            Comment

            Related Topics

            Collapse

            Working...
            X