API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setGridSubdivisionRestricted Method
OdDbAbstractViewportDataForDbViewport::setGridSubdivisionRestricted Method
Syntax
C++
void setGridSubdivisionRestricted(OdRxObject* pViewport, bool gridDispFlag) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
bool gridDispFlag 
[in] Input flag for whether grid subdivision is restricted. 

Controls whether grid subdivision is restricted for the specified viewport object.

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