May 4, 2012 at 9:33 pm #10315
webern
Member
You need to swap the yPosEnd with the yPosBeg in the last two lines, like this:
o.SetAnchorPoint(eePosLogical, 1, yPosEnd);
o.SetActivePoint(eePosLogical, 1, yPosBeg, true);
instead of
o.SetAnchorPoint(eePosLogical, 1, yPosBeg);
o.SetActivePoint(eePosLogical, 1, yPosEnd, True);