Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSAZEBRADIRECTION
Syntax
C++
OdInt16 VSAZEBRADIRECTION;
Type
OdInt16
Initial value
90
Read-Only
No
Saved In
Database
Versions
2013+

 

The VSAZEBRADIRECTION variable stores the direction angle of zebra streaks which are displayed when zebra analysis is performed. The value can be in the range 0 to 90 degrees. The value 0 defines horizontal streaks. The value 90 defines vertical streaks. 

 

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

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"VSAZEBRADIRECTION"); OdInt16 angle = pRb->getInt16(); odPrintConsoleString(L"nZebra streak angle = %d", angle); // or // odPrintConsoleString(L"nZebra streak angle = %d", pDb->getVSAZEBRADIRECTION());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtInt16, 30); pDb->setSysVar(L"VSAZEBRADIRECTION", pRb); // or // pDb->setVSAZEBRADIRECTION(60);

 

File: SysVarDefs.h 

Module: API Reference 

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