- gp_Pnt aP1 = aMgr->getPosition(aObj1, this);
-
- Handle(Graphic3d_Group) aGroup = Prs3d_Root::CurrentGroup(thePresentation);
- aGroup->SetPrimitivesAspect(myAspect);
- myPntArray->SetVertice(1, aP1);
- aGroup->AddPrimitiveArray(myPntArray);
+ gp_Pnt aP1 = aMgr->getPosition(aObj, this, theStep);
+ myPntArray = new Graphic3d_ArrayOfPoints(1, withColor);
+ myPntArray->AddVertex(aP1);
+ return true;