yes that much is clear to me. but I want to effect ONLY the z position. if i ran that command then it would effect x y and z. i want the current x and y to remain as they are, and only effect the z position. Please read my original post...
Does that make sense?

[Conor Grebel]"yes that much is clear to me. but I want to effect ONLY the z position. if i ran that command then it would effect x y and z. i want the current x and y to remain as they are, and only effect the z position. Please read my original post...
Does that make sense?"

Is this for a script? If you're working on a script then I don't have specific code to give you, but I'm much more familiar with expressions where you could handle this like so:

z = 50;
myLayer.position + [0,0,z];

I think similar code should work in a script. Take the current value and add a 3d vector to it. If you want to replace the z value (instead of altering it) then it might be more complicated but still doable. I'd look into javascript array object methods, maybe splice().

Actually, your original post didn't explicitly state that you were attempting to write a script, per se, and since most questions here *would* pertain to expressions rather than scripts, I think it's an oversight that can be forgiven, no?

This doesnt seem to work, value is not set with new value.
Can anyone explain how to use properly Property methods and attributes related to the Separate Dimensions feature(dimensionsSeparated,getSeparationFollower,isSeparationFollower,isSeparationLeader,separationDimension,
separationLeader)?