Morning Forum members,
Subject tile relates primarily to needing to apply rotational values against a robtarget. i have a Taught point and calculate another Point that has no rotational values needed to obtain the center of a Part (for instance). Next i need to add parts to this application using the Center and applying Trans.X,Y,Z and some RZ to create a New Point, however the Reltool() is not applying the robconfig im asking for.
the source values are staying the Same for the rot and robconf , so im stumped on what i am doing wrong.
at present i have the lines of code broken out to attempt to understand my issue and should be able to just apply it all in the RelTool() function.
pLocPoint_RHPallet{1,1}:=pLocPoint{nPntPalletCtr_RH};
pLocPoint_RHPallet{1,1}.trans.x:=pLocPoint{nPntPalletCtr_RH}.trans.X+(nCaseWidthValue+nHalfCaseWidth);
pLocPoint_RHPallet{1,1}.trans.Y:=pLocPoint{nPntPalletCtr_RH}.trans.Y+(nHalfCaseLength);
pLocPoint_RHPallet{1,1}.trans.Z:=pLocPoint{nPntPalletCtr_RH}.trans.Z;
pLocPoint_RHPallet{1,1}:=RelTool(pLocPoint_RHPallet{1,1},0,0,0\RX:=0\RY:=0\RZ:=90);
Thanks for any help,
Alan Cannon