How to save the line tracing the motion path


In VisualComponents, motion path can be visualized by setting TraceON from ActionSignal to Robot.
I want to keep this line as geometry on VisualComponents. I also want to save it in DXF format.
However, I do not know how to do it (the model traced with SweptVolumeON could be saved with DXF).
Does anyone know the solution to this problem?