Setting Parameters by ID


I have been working on a system of nested curtain walls and am trying to adjust the offset of the nested curtain wall panel. I’ve gotten this to work in Dynamo, but the problem is that there are 2 parameters named “Offset,” so when I use “SetParameterByName” it sets both the horizontal and vertical offsets (or chooses a random one, depending on the configuration I use). Is there a way to write to a specific parameter using that parameter’s unique ID?