Hello,
I have solved the problem calling two times the SetLocation() method.
It seem that the first call sets correctly the location for visualization but do somethink wrong for the selection.
Calling twice the SetLocation() method all seems works well.
My object are displyed without local context.
The final code is:
myAISContext->Display(pObject,Standard_False);
myAISContext->Activate(pObject);
myAISContext->ResetLocation(pObject);
myAISContext->SetLocation(pObject, TopLoc_Location(ActTrsf) );
myAISContext->SetLocation(pObject, TopLoc_Location(ActTrsf) );
Have anyone any other suggestion ?