70001369 Enable Disable Viewport opengl list sharing

Article 70001369
Type Wish
Product Engine
Version 7015
Date Added 7/17/2018 12:00:00 AM
Fixed 7.7016.0.2 (7/19/2018 12:00:00 AM)
Submitted by Wesley Beere

Summary

Enable Disable Viewport opengl list sharing

Solution

In version 7016.0.1 a new property ShareLists for vdDocument and vdViewport was added

vdDocument.ShareLists can get ShareListsEnum.On or ShareListsEnum.Off
Default value is ShareListsEnum.On

vdViewport.ShareLists can get ShareListsEnum.On , ShareListsEnum.Off or ShareListsEnum.DocumentDefault
Default value is ShareListsEnum.DocumentDefault in order to get the vdDocument.ShareLists value

If you want to disable the ShareLists for all viewports then set the the vdDocument.ShareLists to ShareListsEnum.Off
If you want to disable the ShareLists for a specific viewport then set the the vdViewport.ShareLists to ShareListsEnum.Off
vdDocument.ShareLists and vdViewport.ShareLists are saved in vdml/vdcl format.

Note : This property is usefull when the drawing has very big coordinates and the viewport is zoomed in a small portion of the drawing far away from the drawing's bounding center.
In these cases the entities seem distorted and in order to be calculated correctly the viewport has to have it's own lists and not use the shared lists of the model.

Send comments on this topic.