Close

Relief for ODA Team in Ukraine

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

 

The VSAZEBRACOLOR1 variable stores the first 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::getVSAZEBRACOLOR1()
OdDbDatabase::setVSAZEBRACOLOR1()

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"VSAZEBRACOLOR1"); OdString tint = pRb->getString(); odPrintConsoleString(L"nFirst zebra streak tint = %s", tint); // or // odPrintConsoleString(L"nFirst zebra streak tint = %s", pDb->getVSAZEBRACOLOR1());

For example, to set the value:

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

 

File: SysVarDefs.h 

Module: API Reference 

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