Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSSHADOWS
Syntax
C++
OdInt16 VSSHADOWS;
Type
OdInt16
Initial value
0
Read-Only
No
Saved In
Nondatabase, Quasi variable
Versions
2007+

 

The VSSHADOWS variable stores the shadow mode that defines whether a visual style displays shadows in the current viewport. The value can be: 

 

Value
Description
0
Shadows are not displayed
1
Ground shadows are only displayed
2
Full shadows are displayed

 

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"VSSHADOWS"); OdInt16 mode = pRb->getInt16(); odPrintConsoleString(L"nShadow mode = %d", mode);

For example, to set the value:

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

 

File: QuasiVarDefs.h 

Module: API Reference 

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