Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSAZEBRACOLOR2
Syntax
C++
OdString VSAZEBRACOLOR2;
Type
OdString
Initial value
"RGB:0,0,0"
Read-Only
No
Saved In
Database
Versions
2013+

 

The VSAZEBRACOLOR2 variable stores the second tint of zebra streaks which are displayed when zebra analysis is performed. TrueColor value is set as follows: "RGB:XXX,XXX,XXX", where XXX is the color component value in the range 0 to 255. Value 0 defines a color ByBlock, value 256 defines a color ByLayer, values 1 to 255 define the ACI color. 

 

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

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"VSAZEBRACOLOR2"); OdString tint = pRb->getString(); odPrintConsoleString(L"nSecond zebra streak tint = %s", tint); // or // odPrintConsoleString(L"nSecond zebra streak tint = %s", pDb->getVSAZEBRACOLOR2());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtString, L"RGB:128,128,128"); pDb->setSysVar(L"VSAZEBRACOLOR2", pRb); // or // pDb->setVSAZEBRACOLOR2("256");

 

File: SysVarDefs.h 

Module: API Reference 

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