API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setGridAdaptive Method
OdDbViewport::setGridAdaptive Method
Syntax
C++
void setGridAdaptive(bool bNewVal);
Parameters 
Description 
bool bNewVal 
[in] Flag that specifies whether the grid should be adaptive. 

Specifies whether to adapt the grid display. An adaptive grid can be useful to avoid issues when a viewport is zoomed out too much and the grid becomes too dense, or on the contrary, when a viewport is zoomed in too much, there can be too few lines to display the grid. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.