I'm not sure why this type of parameter checking only works in points mode. Any way here's a way to transform geo in vex:
if (`chs("../box2/sizey")` < `chs("../box3/sizey")`) { //maketransform(0,0,{ TX, TY, TZ },{ RX, RY, RZ},{ SX, SY, SZ },{ CEX, CEY, CEZ }); @P *= maketransform(0,0,{ 0, 0.5, 0 },{ 0, 0, 0 },{ 1, 1, 1 },{ 0, 0, 0 }); }
But it's a lot easier to modify other objects parameters with Python. Add this to a python node and make the pointer to your box 2 correct:
box2 = hou.node('/obj/box_object1/box2') if box2.parm('sizey').eval() < box2.parm('sizex').eval(): box2.parm('sizey').set(2)
-b