Line Batch Record to Sequence

I am using c++ and I hope I can record lines using sequence recorder, is there any way?

//.h
ULineBatchComponent* batchLine;
//.cpp
Objects[i]->batchLine->DrawLine(initial, finish, FColor::Green, SDPG_World, 2, 0.1);

290765-ue4.png