Hello Guys. There's this certain thing I noticed today which puzzles me.
Assumption: We have a poly mesh sphere of rad(x,y,z)=0.5 and an xform node piped to it. Y-axis pivot (py) of the transform node equals . If I set py=-$SIZEY/2, it places the pivot at the bottom of the sphere, which is correct. But... If I peek at a current value of py (in Parameters pane), it still shows , while it should be equal to -0.5. If I pipe a Python SOP to check the value of SIZEY local variable, it shows me 1.0. So why inside the py parameter?
hou.node('/obj/sphere_object1/xform1').parm('py').eval()
also returns 0.0 instead of -0.5. So the parameter really stores . Similarly with xform's ty. If I type $SIZE/2, which levels the bottom of the sphere with the origin on Y-axis, and if I peek at the parameter's value of ty, I get 0.0. Python's eval()also shows that this parameter stores 0.0. But why? Why it's not equal to 0.5? Could someone please explain this to me? Why does this happen?