API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class > OdDbMentalRayRenderSettings Methods > OdDbMentalRayRenderSettings::setDiagnosticGridMode Method
OdDbMentalRayRenderSettings::setDiagnosticGridMode Method
Syntax
C++
OdResult setDiagnosticGridMode(OdGiMrDiagnosticGridMode diagnosticGridMode, float gridSpace);
Parameters 
Description 
OdGiMrDiagnosticGridMode diagnosticGridMode 
[in] Coordinate system for the grid.  
float gridSpace 
[in] Distance between grid lines. 

Sets the Diagnostic Grid for this MentalRayRenderSettings object.

The default mode is krObject, the default grid space is 10.0.

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