API Reference > OdDb Classes > OdGiContextForDbDatabase Class > OdGiContextForDbDatabase Methods > OdGiContextForDbDatabase::setViewportGeomCSCompatibility Method
OdGiContextForDbDatabase::setViewportGeomCSCompatibility Method
Syntax
C++
void setViewportGeomCSCompatibility(bool bEnable);
Parameters 
Description 
bool bEnable 
[in] Set to true to enable compatibility mode (polylineEye/polygonEye/polylineDc/polygonDc geometry primitives work in WCS). Set to false (default) to disable compatibility mode (polylineEye/polygonEye work in ECS and polylineDc/polygonDc work in normalized DCS) 

Controls coordinate systems for OdGiViewportGeometry::polylineEye/polygonEye/polylineDc/polygonDc geometry primitives. 

 

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