Retrain the shape selected for many transformation

I want to do many transformation on the shape but In each transformation I am obliged to select the shape again.
is there a method that allows me to retain the shape selected for many transformation.
(myAISContext->Current())

ATTIA's picture

To retrain the shape selected, you can use myAISContext->SetSelected()