RIR Unable to change Dimension Parameter of an instance

Hi, i’m trying to get my script to update Instance Height and Width Parameter of an Instance.

  1. I created new Generic Models Family with 3 Instance Parameters: Width, Height, Depth.
  2. I’m placing those instances with RiR’s “Location Component”.
  3. Next i’m taking Width, Height Parameter from Ducts that intersect with those Generic Models and trying to assign those values to newly created Instances, but the "Get-Set Parameter creates new Height and Width Parameter under “Data” section and not in “Dimensions”(what i’m trying to achieve). Anyways i’m able to manually change this Parameter Values from Revit Properties tab, so it seems like it should also be possible to do it trough RiR.
    Please, see screenshots below




Can you post your family & revit version? It looks like you have instance and project parameters with the same name, you will want to Inspect the element and get the correct parameter Key to modify the right one.

Right click the inspect and show all parameters

image

2 Likes

Thanks for your reply, Japhy!
Inspect Elements works for me now. The issue was that by default it was writing to Data:Height / Data:Width parameter and not to Dimensions:Height / Dimensions:Width.
So the solution is to connect Inspect Element output directly to “Get-Set Element”'s Parameter.