API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setGridSubdivisionRestricted Method
OdDbViewport::setGridSubdivisionRestricted Method
Syntax
C++
void setGridSubdivisionRestricted(bool bNewVal);
Parameters 
Description 
bool bNewVal 
[in] Flag that specifies whether to restrict grid subdivision. 

Specifies whether to restrict grid subdivision below the minor grid spacing in this viewport. 

 

The grid subdivision setting is ignored if an isGridAdaptive() call returns false.

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