Wireframe Cube using PipeVisual3D or LinesVisual3D ?

Kumaran M 10 years ago 0
I am trying to create a wire-frame cube using PipeVisual3D. Everything works fine.
I have to use 12 PipeVisual3D objects for a cube. But, if I use LinesVisual3D, then only one object is enough to draw that. 
but the LinesVisual3D is not getting refreshed automatically. I am using mouse drag/drop event to draw a wireframe cube. After drawn, I have to zoom in/out using mouse wheel to refresh the view to get the LinesVisual3D object.
but PipeVisual3D is drawn while moving the mouse.

so, how to auto draw or refresh the LinesVisual3D manually?