Can Box height be changed at runtime?

I am trying to adjust the height, width and length of a box using trackbars.

I have tried removing and then adding a new primitive, also tried replacing the primitive but it flickers during the change.
I have tried replacing the geometry but I can’t seem to get the geometry instance.

Any ideas on how or if a box height can be changed at runtime by a trackbar without flickering?

I would like to recreate something like this example https://cesiumjs.org/d3cesium/

but using boxes and cylinders instead of polylines.

It seems that there may be an issue with Columbus view and redrawing.
Changing the height of a polyline on tick works in 3d view (by doing show = false; show = true; to trigger the redraw)

but the change isn’t reflected in columbus view.

Hi

I have tried removing and then adding a new primitive, also tried replacing the primitive but it flickers during the change.

Set “asynchronous : false” when creating the primitive the avoid the flicker.

Patrick