I have many single AIS_Interactive_Objects that I have to display.
I have done some tests to reproduce the behavior.
I have created 1000 AIS line object ,I have displayed each line in the context and I have update the viewer (UpdateCurrentViewer).
This takes 1'15'' to run and the UpdateCurrentViewer() takes 1'06'' of this time.
I know that this is not the best way to manage the screen and i have tried to refresh the viewer each 20 display of objects.
This takes 10'' to run and the UpdateCurrentViewer() takes 9'' of this time.
I cannot refresh the viewer after the display of all the lines, the best will be display each line separately.
The question is ; Is there a method to speed up the rendering done by UpdateCurrentViewer() ?