Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSFACEHIGHLIGHT
Syntax
C++
OdInt16 VSFACEHIGHLIGHT;
Type
OdInt16
Initial value
(–30)
Read-Only
No
Saved In
Nondatabase, Quasi variable
Versions
2007+

 

The VSFACEHIGHLIGHT variable stores the reflex highlights of faces without materials to be displayed in the current viewport. The value can be in the range –100 to 100. The higher the value, the larger the highlight. The smaller the value, the smaller the highlight. If the VSMATERIALMODE system variable is on, attached materials ignore the highlight. 

Note: An existing visual style is not changed when the system variable gets a new value. Temporary visual style will be created as a clone of visual style assigned for current viewport. 

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"VSFACEHIGHLIGHT"); OdInt16 highlight = pRb->getInt16(); odPrintConsoleString(L"nFace highlight = %d", highlight);

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtInt16, 60); pDb->setSysVar(L"VSFACEHIGHLIGHT", pRb);

 

File: QuasiVarDefs.h 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.